}
}
+ if (!h->current_slice)
+ av_assert0(sl == h->slice_ctx);
+
slice_type = get_ue_golomb_31(&sl->gb);
if (slice_type > 9) {
av_log(h->avctx, AV_LOG_ERROR,
}
}
- 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);
}
}
}
- h->picture_structure = picture_structure;
if (!h->setup_finished) {
h->droppable = droppable;
h->picture_structure = picture_structure;