summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-02 04:59:55 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-13 19:49:29 +0100
commit629259bdb58061b7b7c1ae4cdc44599f6c0bb050 (patch)
tree3649766c19015ff7f54c849c72c589fbff1b7423 /libavcodec
parentc3e780c39b33832361f67b01fb9045bf0f99bb2b (diff)
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 <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpegpicture.c2
1 files changed, 1 insertions, 1 deletions
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;
}