aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-06-11 13:28:42 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-06-11 13:28:42 +0000
commit1c1697117dbd2923d5876c10a1ebaeec233338b5 (patch)
tree9c6295c30c5cbaf65b0e124a2ea28a21638cc19d
parent07ff7825b6025c529b194b5d54b9c0528b07c308 (diff)
downloadffmpeg-1c1697117dbd2923d5876c10a1ebaeec233338b5.tar.gz
Fix raw vc1 decoding - this is supposed to break FATE.
Patch by Michael. Originally committed as revision 23582 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/raw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c
index 7837de842a..85d204d7e3 100644
--- a/libavformat/raw.c
+++ b/libavformat/raw.c
@@ -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};
}