Commit 3b3abee4 authored by mru's avatar mru

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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15930 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 62c8001e
......@@ -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 */
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment