changeset 2631:c49619ee4c35 libavcodec

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)
author michael
date Mon, 25 Apr 2005 00:10:11 +0000
parents 026c1600b532
children 67171616ead6
files rv10.c
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/rv10.c	Sun Apr 24 22:08:31 2005 +0000
+++ b/rv10.c	Mon Apr 25 00:10:11 2005 +0000
@@ -537,15 +537,17 @@
         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;