[FFmpeg-cvslog] r12136 - trunk/ffmpeg.c

superdump subversion
Mon Feb 18 16:30:56 CET 2008


Author: superdump
Date: Mon Feb 18 16:30:56 2008
New Revision: 12136

Log:
Remove a superfluous call to atoi in ffmpeg.c:opt_verbose

Patch by Stefano Sabatini ( stefano sabatini-lala poste it )
[FFmpeg-devel] [PATCH] Cosmetics: remove a superfluos call to atoi in
ffmpeg.c:opt_verbose


Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Mon Feb 18 16:30:56 2008
@@ -2181,7 +2181,7 @@ static void opt_me_threshold(const char 
 static void opt_verbose(const char *arg)
 {
     verbose = atoi(arg);
-    av_log_set_level(atoi(arg));
+    av_log_set_level(verbose);
 }
 
 static void opt_frame_rate(const char *arg)




More information about the ffmpeg-cvslog mailing list