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
This commit is contained in:
Chris Stones 2010-03-01 16:47:44 +00:00 committed by Carl Eugen Hoyos
parent 2bcaf2feeb
commit 49b609820d

View File

@ -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)