Commit 49b60982 authored by Chris Stones's avatar Chris Stones Committed by Carl Eugen Hoyos

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
parent 2bcaf2fe
...@@ -3213,6 +3213,7 @@ static void new_video_stream(AVFormatContext *oc) ...@@ -3213,6 +3213,7 @@ static void new_video_stream(AVFormatContext *oc)
video_disable = 0; video_disable = 0;
av_freep(&video_codec_name); av_freep(&video_codec_name);
video_stream_copy = 0; video_stream_copy = 0;
frame_pix_fmt = PIX_FMT_NONE;
} }
static void new_audio_stream(AVFormatContext *oc) static void new_audio_stream(AVFormatContext *oc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment