You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/h264_slice: Fix dequant table init with field pictures
Fixes regression of Ticket4389 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -1422,7 +1422,7 @@ int ff_h264_decode_slice_header(H264Context *h, H264SliceContext *sl)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (first_slice && h->dequant_coeff_pps != pps_id) {
|
if (!h->current_slice && h->dequant_coeff_pps != pps_id) {
|
||||||
h->dequant_coeff_pps = pps_id;
|
h->dequant_coeff_pps = pps_id;
|
||||||
ff_h264_init_dequant_tables(h);
|
ff_h264_init_dequant_tables(h);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user