Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Unified Diff: webrtc/tools/frame_editing/frame_editing.cc

Issue 2685783014: Replace NULL with nullptr in all C++ files. (Closed)
Patch Set: Fixing android. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698