diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-30 18:30:42 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-05-30 23:40:08 +0200 |
commit | 746c7480703cd0465c38837fe80cbd4ea56facc1 (patch) | |
tree | 0858419785d50710989d546ec39372795d700755 /libavcodec | |
parent | 11dd8eb48ba4b08bced8fb3b966320407c0368fa (diff) | |
download | ffmpeg-746c7480703cd0465c38837fe80cbd4ea56facc1.tar.gz |
h264_cavlc: fix reading skip run
Fixes Ticket2606
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 826b3a75cd295c03720e00d3de83e1abcbedd4b9)
Conflicts:
libavcodec/h264_cavlc.c
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264_cavlc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_cavlc.c b/libavcodec/h264_cavlc.c index 0d076c3575..1a438cf7bc 100644 --- a/libavcodec/h264_cavlc.c +++ b/libavcodec/h264_cavlc.c @@ -621,7 +621,7 @@ int ff_h264_decode_mb_cavlc(H264Context *h){ down the code */ if(h->slice_type_nos != AV_PICTURE_TYPE_I){ if(s->mb_skip_run==-1) - s->mb_skip_run= get_ue_golomb(&s->gb); + s->mb_skip_run= get_ue_golomb_long(&s->gb); if (s->mb_skip_run--) { if(FRAME_MBAFF && (s->mb_y&1) == 0){ |