changeset 8210:e1f9d8919cb5 libavcodec

flashsv: use skip_bits_long() where required skip_bits(gb, n) with n > 17 doesn't work with all bitstream readers. Switch to skip_bits_long() instead.
author mru
date Mon, 24 Nov 2008 19:00:55 +0000
parents 65e05fda5280
children b9e82845e7eb
files flashsv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flashsv.c	Mon Nov 24 18:49:50 2008 +0000
+++ b/flashsv.c	Mon Nov 24 19:00:55 2008 +0000
@@ -211,7 +211,7 @@
                     /* return -1; */
                 }
                 copy_region(s->tmpblock, s->frame.data[0], s->image_height-(hp+hs+1), wp, hs, ws, s->frame.linesize[0]);
-                skip_bits(&gb, 8*size);   /* skip the consumed bits */
+                skip_bits_long(&gb, 8*size);   /* skip the consumed bits */
             }
         }
     }