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
This commit is contained in:
Matthieu Castet 2005-04-25 00:10:11 +00:00 committed by Michael Niedermayer
parent 9786bd4d94
commit f9e0f2a206

View File

@ -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;