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

bcoudurier subversion
Fri Dec 21 11:08:44 CET 2007


Author: bcoudurier
Date: Fri Dec 21 11:08:43 2007
New Revision: 11289

Log:
reset manually selected codecs at the end of opt_input_file, to avoid propagating selection to output file

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Fri Dec 21 11:08:43 2007
@@ -2790,6 +2790,9 @@ static void opt_input_file(const char *f
     video_channel = 0;
 
     rate_emu = 0;
+    av_freep(&video_codec_name);
+    av_freep(&audio_codec_name);
+    av_freep(&subtitle_codec_name);
 }
 
 static void check_audio_video_sub_inputs(int *has_video_ptr, int *has_audio_ptr,




More information about the ffmpeg-cvslog mailing list