[FFmpeg-cvslog] r15930 - trunk/libavcodec/flashsv.c
mru
subversion
Mon Nov 24 20:00:55 CET 2008
Author: mru
Date: Mon Nov 24 20:00:55 2008
New Revision: 15930
Log:
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.
Modified:
trunk/libavcodec/flashsv.c
Modified: trunk/libavcodec/flashsv.c
==============================================================================
--- trunk/libavcodec/flashsv.c (original)
+++ trunk/libavcodec/flashsv.c Mon Nov 24 20:00:55 2008
@@ -211,7 +211,7 @@ static int flashsv_decode_frame(AVCodecC
/* 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 */
}
}
}
More information about the ffmpeg-cvslog
mailing list