From 6b8810d0ca35edaba119b6225c9695afbdd38263 Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Mon, 24 Nov 2008 19:00:55 +0000 Subject: 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. Originally committed as revision 15930 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/flashsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/flashsv.c') diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c index 3842594ad2..abe1d8750c 100644 --- a/libavcodec/flashsv.c +++ b/libavcodec/flashsv.c @@ -211,7 +211,7 @@ static int flashsv_decode_frame(AVCodecContext *avctx, /* 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 */ } } } -- cgit v1.2.3