]> git.sesse.net Git - ffmpeg/commitdiff
Do not try to set a video standard unless "-tvstd" is specified
authorLuca Abeni <lucabe72@email.it>
Mon, 21 May 2007 09:50:17 +0000 (09:50 +0000)
committerLuca Abeni <lucabe72@email.it>
Mon, 21 May 2007 09:50:17 +0000 (09:50 +0000)
Originally committed as revision 9088 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index c596c0058a10f979b97921daf8a7cc1541c7976f..46449ea60c40e2b6e364df1957f15f3f5b4a6e39 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -182,7 +182,7 @@ static FILE *fvstats;
 static int rate_emu = 0;
 
 static int  video_channel = 0;
-static char *video_standard = "ntsc";
+static char *video_standard;
 
 static int audio_volume = 256;
 
@@ -3834,6 +3834,8 @@ int main(int argc, char **argv)
 
     av_free(opt_names);
 
+    av_free(video_standard);
+
 #ifdef CONFIG_POWERPC_PERF
     extern void powerpc_display_perf_report(void);
     powerpc_display_perf_report();