From 629259bdb58061b7b7c1ae4cdc44599f6c0bb050 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 2 Feb 2022 04:59:55 +0100 Subject: [PATCH] avcodec/mpegpicture: Don't check for DELAYED_PIC_REF It is not set any more by any user of mpegvideo/mpegpicture. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegpicture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegpicture.c b/libavcodec/mpegpicture.c index be6e6967e0..cb3ebcf7e7 100644 --- a/libavcodec/mpegpicture.c +++ b/libavcodec/mpegpicture.c @@ -419,7 +419,7 @@ static inline int pic_is_unused(Picture *pic) { if (!pic->f->buf[0]) return 1; - if (pic->needs_realloc && !(pic->reference & DELAYED_PIC_REF)) + if (pic->needs_realloc) return 1; return 0; }