aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-30 18:30:42 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-05-30 22:33:03 +0200
commit96e6d4da374ffef3705e0dfcf312685d059484b4 (patch)
tree51ea67721f8c000e552f4b0dccf46be41cab3529
parent735deda2cfeca24e842604f09eca487d501c2224 (diff)
downloadffmpeg-96e6d4da374ffef3705e0dfcf312685d059484b4.tar.gz
h264_cavlc: fix reading skip run
Fixes Ticket2606 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 826b3a75cd295c03720e00d3de83e1abcbedd4b9)
-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 b75e653268..089d41aca4 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){