Commit 69738466 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/h264_slice: Fix dequant table init with field pictures

Fixes regression of Ticket4389
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 873158fd
......@@ -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;
ff_h264_init_dequant_tables(h);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment