aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Stones <chris.stones@gmail.com>2010-03-01 16:47:44 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-03-01 16:47:44 +0000
commit49b609820d68fb3527046d14c88e6f997e1a3bad (patch)
tree7ef9210489266a8f8b7921e96004f2698a4fddba
parent2bcaf2feeb7cf064323aa4afd14338cde7bbb20b (diff)
downloadffmpeg-49b609820d68fb3527046d14c88e6f997e1a3bad.tar.gz
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
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
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)