From 49b609820d68fb3527046d14c88e6f997e1a3bad Mon Sep 17 00:00:00 2001 From: Chris Stones Date: Mon, 1 Mar 2010 16:47:44 +0000 Subject: [PATCH] Don't let output pixel format influence input pixel format. Patch by Chris Stones, chris D stones A gmail Originally committed as revision 22130 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffmpeg.c b/ffmpeg.c index 8c0bdd9f67..3f88089817 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -3213,6 +3213,7 @@ static void new_video_stream(AVFormatContext *oc) video_disable = 0; av_freep(&video_codec_name); video_stream_copy = 0; + frame_pix_fmt = PIX_FMT_NONE; } static void new_audio_stream(AVFormatContext *oc)