summaryrefslogtreecommitdiff
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
authorMatthieu Castet <castet.matthieu@free.fr>2005-04-25 00:10:11 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-04-25 00:10:11 +0000
commitf9e0f2a2065e4f6708a93891773fd5a18abefd47 (patch)
treebe179b1e52c1f84d9a54612fe58f8d9345d95793 /libavcodec/rv10.c
parent9786bd4d94a72ce4245398c3067c016852d1fd55 (diff)
extract from the subid the options
instead of doing a case where we should add lot's of versions. patch by (matthieu castet {castet.matthieu free fr) Originally committed as revision 4156 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index 4d3f6108da..e2f37c6c59 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -537,15 +537,17 @@ static int rv10_decode_init(AVCodecContext *avctx)
s->h263_long_vectors=0;
s->low_delay=1;
break;
- case 0x20001000:
- case 0x20100001:
+ case 0x20001000: /* real rv20 decoder fail on this id */
+ /*case 0x20100001:
case 0x20101001:
- case 0x20103001:
+ case 0x20103001:*/
+ case 0x20100000 ... 0x2019ffff:
s->low_delay=1;
break;
- case 0x20200002:
+ /*case 0x20200002:
case 0x20201002:
- case 0x20203002:
+ case 0x20203002:*/
+ case 0x20200002 ... 0x202fffff:
case 0x30202002:
case 0x30203002:
s->low_delay=0;