another >> vs >
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 31 Jan 2007 10:48:08 +0000 (10:48 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 31 Jan 2007 10:48:08 +0000 (10:48 +0000)
Originally committed as revision 7779 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/lzo.c

index d4c19aa..340b552 100644 (file)
@@ -213,7 +213,7 @@ int lzo1x_decode(void *out, int *outlen, void *in, int *inlen) {
                     c.error |= LZO_INPUT_DEPLETED;
                     continue;
                 }
-                if (x >> 4)
+                if (x > 15)
                     continue;
                 cnt = 1;
                 back = (1 << 11) + (GETB(c) << 2) + (x >> 2) + 1;