mirror of https://git.ffmpeg.org/ffmpeg.git
h264_cavlc: fix reading skip run
Fixes Ticket2606
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 826b3a75cd
)
Conflicts:
libavcodec/h264_cavlc.c
This commit is contained in:
parent
c8857308f6
commit
02923b8c78
|
@ -708,7 +708,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){
|
||||
|
|
Loading…
Reference in New Issue