[SCM] libav/experimental: 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)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:43:44 UTC 2013


The following commit has been merged in the experimental branch:
commit f9e0f2a2065e4f6708a93891773fd5a18abefd47
Author: Matthieu Castet <castet.matthieu at free.fr>
Date:   Mon Apr 25 00:10:11 2005 +0000

    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

diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index 4d3f610..e2f37c6 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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list