mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
h264: minor simplification
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
bfca35114a
commit
ed83f84891
@ -1484,7 +1484,7 @@ static void decode_postinit(H264Context *h, int setup_finished){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
out_of_order = MAX_DELAYED_PIC_COUNT - i;
|
out_of_order = MAX_DELAYED_PIC_COUNT - i;
|
||||||
if(s->low_delay && cur->f.pict_type == AV_PICTURE_TYPE_B)
|
if(cur->f.pict_type == AV_PICTURE_TYPE_B)
|
||||||
out_of_order = FFMAX(out_of_order, 1);
|
out_of_order = FFMAX(out_of_order, 1);
|
||||||
if(s->avctx->has_b_frames < out_of_order && !h->sps.bitstream_restriction_flag){
|
if(s->avctx->has_b_frames < out_of_order && !h->sps.bitstream_restriction_flag){
|
||||||
av_log(s->avctx, AV_LOG_WARNING, "Increasing reorder buffer to %d\n", out_of_order);
|
av_log(s->avctx, AV_LOG_WARNING, "Increasing reorder buffer to %d\n", out_of_order);
|
||||||
|
Loading…
Reference in New Issue
Block a user