Merge commit '5b35b290dd76db64f079b3940f6148c8f273fc17'
* commit '5b35b290dd76db64f079b3940f6148c8f273fc17': h264: remove a stale comment Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
c3afe64d0c
@ -685,8 +685,6 @@ static void decode_postinit(H264Context *h, int setup_finished)
|
|||||||
|
|
||||||
if (out_of_order || pics > h->avctx->has_b_frames) {
|
if (out_of_order || pics > h->avctx->has_b_frames) {
|
||||||
out->reference &= ~DELAYED_PIC_REF;
|
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++)
|
for (i = out_idx; h->delayed_pic[i]; i++)
|
||||||
h->delayed_pic[i] = h->delayed_pic[i + 1];
|
h->delayed_pic[i] = h->delayed_pic[i + 1];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user