diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 01943b0941..aea6f4955c 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -685,8 +685,6 @@ static void decode_postinit(H264Context *h, int setup_finished) if (out_of_order || pics > h->avctx->has_b_frames) { out->reference &= ~DELAYED_PIC_REF; - // for frame threading, the owner must be the second field's thread or - // else the first thread can release the picture and reuse it unsafely for (i = out_idx; h->delayed_pic[i]; i++) h->delayed_pic[i] = h->delayed_pic[i + 1]; }