Index: webrtc/tools/frame_editing/frame_editing.cc |
diff --git a/webrtc/tools/frame_editing/frame_editing.cc b/webrtc/tools/frame_editing/frame_editing.cc |
index 015d5d99ae5d72bd53298542923ac173703a2841..81e1c76f3006c9c4f83d887adc12e5d13bc5b150 100644 |
--- a/webrtc/tools/frame_editing/frame_editing.cc |
+++ b/webrtc/tools/frame_editing/frame_editing.cc |
@@ -82,11 +82,11 @@ int main(int argc, char** argv) { |
parser.PrintEnteredFlags(); |
const char* in_path = parser.GetFlag("in_path").c_str(); |
- int width = strtol((parser.GetFlag("width")).c_str(), NULL, 10); |
- int height = strtol((parser.GetFlag("height")).c_str(), NULL, 10); |
- int first_frame_to_cut = strtol((parser.GetFlag("f")).c_str(), NULL, 10); |
- int interval = strtol((parser.GetFlag("interval")).c_str(), NULL, 10); |
- int last_frame_to_cut = strtol((parser.GetFlag("l")).c_str(), NULL, 10); |
+ int width = strtol((parser.GetFlag("width")).c_str(), nullptr, 10); |
+ int height = strtol((parser.GetFlag("height")).c_str(), nullptr, 10); |
+ int first_frame_to_cut = strtol((parser.GetFlag("f")).c_str(), nullptr, 10); |
+ int interval = strtol((parser.GetFlag("interval")).c_str(), nullptr, 10); |
+ int last_frame_to_cut = strtol((parser.GetFlag("l")).c_str(), nullptr, 10); |
const char* out_path = parser.GetFlag("out_path").c_str(); |