From f9e0f2a2065e4f6708a93891773fd5a18abefd47 Mon Sep 17 00:00:00 2001 From: Matthieu Castet Date: Mon, 25 Apr 2005 00:10:11 +0000 Subject: [PATCH] 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 --- libavcodec/rv10.c | 12 +++++++----- 1 file 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; -- 2.11.0