aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2007-05-21 09:50:17 +0000
committerLuca Abeni <lucabe72@email.it>2007-05-21 09:50:17 +0000
commitdf0cecdde02ca096774cf3c2adbf2738739d535a (patch)
treefa382f82f8dff073defb1aae8442946ae4b26d3b
parent4f60f34a899e59af51f3d0c54f34de6b65f374e8 (diff)
downloadffmpeg-df0cecdde02ca096774cf3c2adbf2738739d535a.tar.gz
Do not try to set a video standard unless "-tvstd" is specified
Originally committed as revision 9088 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index c596c0058a..46449ea60c 100644
--- 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();