[FFmpeg-cvslog] h264_cavlc: fix reading skip run
Michael Niedermayer
git at videolan.org
Thu May 30 23:41:33 CEST 2013
ffmpeg | branch: release/1.2 | Michael Niedermayer <michaelni at gmx.at> | Thu May 30 18:30:42 2013 +0200| [96e6d4da374ffef3705e0dfcf312685d059484b4] | committer: Carl Eugen Hoyos
h264_cavlc: fix reading skip run
Fixes Ticket2606
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 826b3a75cd295c03720e00d3de83e1abcbedd4b9)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=96e6d4da374ffef3705e0dfcf312685d059484b4
---
libavcodec/h264_cavlc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/h264_cavlc.c b/libavcodec/h264_cavlc.c
index b75e653..089d41a 100644
--- a/libavcodec/h264_cavlc.c
+++ b/libavcodec/h264_cavlc.c
@@ -706,7 +706,7 @@ int ff_h264_decode_mb_cavlc(H264Context *h){
down the code */
if(h->slice_type_nos != AV_PICTURE_TYPE_I){
if(h->mb_skip_run==-1)
- h->mb_skip_run= get_ue_golomb(&h->gb);
+ h->mb_skip_run= get_ue_golomb_long(&h->gb);
if (h->mb_skip_run--) {
if(FRAME_MBAFF && (h->mb_y&1) == 0){
More information about the ffmpeg-cvslog
mailing list