mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
h264_cavlc: fix reading skip run
Fixes Ticket2606 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3f714d1ffd
commit
826b3a75cd
@ -712,7 +712,7 @@ int ff_h264_decode_mb_cavlc(H264Context *h){
|
|||||||
down the code */
|
down the code */
|
||||||
if(h->slice_type_nos != AV_PICTURE_TYPE_I){
|
if(h->slice_type_nos != AV_PICTURE_TYPE_I){
|
||||||
if(h->mb_skip_run==-1)
|
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 (h->mb_skip_run--) {
|
||||||
if(FRAME_MBAFF(h) && (h->mb_y&1) == 0){
|
if(FRAME_MBAFF(h) && (h->mb_y&1) == 0){
|
||||||
|
Loading…
Reference in New Issue
Block a user