diff options
author | Måns Rullgård <mans@mansr.com> | 2008-11-24 22:00:55 +0300 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2008-11-24 22:00:55 +0300 |
commit | 6b8810d0ca35edaba119b6225c9695afbdd38263 (patch) | |
tree | 3a69d0ea8d427ec30eaa2306e6cd8a3eb562ce05 /libavcodec | |
parent | f4cca718cf7ae781052c0853769da9c88ff8cc0d (diff) |
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
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/flashsv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ } } } |