summaryrefslogtreecommitdiff
path: root/libavcodec/h264_cavlc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-30 18:30:42 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-30 18:38:04 +0200
commit826b3a75cd295c03720e00d3de83e1abcbedd4b9 (patch)
tree574c547577ba321424fccf4d157a757c604a2440 /libavcodec/h264_cavlc.c
parent3f714d1ffd96f13354f42487ff5df7411ac47c8b (diff)
h264_cavlc: fix reading skip run
Fixes Ticket2606 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_cavlc.c')
-rw-r--r--libavcodec/h264_cavlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_cavlc.c b/libavcodec/h264_cavlc.c
index dad819f93a..8facf5571f 100644
--- a/libavcodec/h264_cavlc.c
+++ b/libavcodec/h264_cavlc.c
@@ -712,7 +712,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) && (h->mb_y&1) == 0){