[SCM] libav/experimental: fix decoding of bastard3.rm (ver=0x10003001 ver0=0x9000000)
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:51:05 UTC 2013
The following commit has been merged in the experimental branch:
commit c38a29a44845bfb6d42e58fc0420a102fd8f8f6f
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Tue Sep 26 22:23:33 2006 +0000
fix decoding of bastard3.rm (ver=0x10003001 ver0=0x9000000)
Originally committed as revision 6349 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index 6ec8e51..418bab9 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -534,7 +534,7 @@ static int rv10_decode_init(AVCodecContext *avctx)
break;
case 0x10003001:
s->rv10_version= 3;
- s->h263_long_vectors=0;
+ s->h263_long_vectors= !!(*(uint32_t*)avctx->extradata & 0x1000000);
s->low_delay=1;
break;
case 0x20001000: /* real rv20 decoder fail on this id */
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list