Commit 96d1b7ff authored by Michael Niedermayer's avatar Michael Niedermayer

h264: unmark frames at the end

Fixes assertion failure

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5c42078b
......@@ -4327,6 +4327,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
h->delayed_pic[i] = h->delayed_pic[i + 1];
if (out) {
out->f.reference &= ~DELAYED_PIC_REF;
*got_frame = 1;
*pict = out->f;
}
......
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