OSDN Git Service

Fix raw vc1 decoding - this is supposed to break FATE.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 11 Jun 2010 13:28:42 +0000 (13:28 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Fri, 11 Jun 2010 13:28:42 +0000 (13:28 +0000)
Patch by Michael.

Originally committed as revision 23582 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/raw.c

index 7837de8..85d204d 100644 (file)
@@ -283,6 +283,7 @@ static int video_read_header(AVFormatContext *s,
                 st->codec->codec_id == CODEC_ID_MPEG4 ||
                 st->codec->codec_id == CODEC_ID_DIRAC ||
                 st->codec->codec_id == CODEC_ID_DNXHD ||
+                st->codec->codec_id == CODEC_ID_VC1   ||
                 st->codec->codec_id == CODEC_ID_H264) {
         st->codec->time_base= (AVRational){1,25};
     }