diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-02 04:59:55 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-13 19:49:29 +0100 |
commit | 629259bdb58061b7b7c1ae4cdc44599f6c0bb050 (patch) | |
tree | 3649766c19015ff7f54c849c72c589fbff1b7423 /libavcodec/mpegpicture.c | |
parent | c3e780c39b33832361f67b01fb9045bf0f99bb2b (diff) | |
download | ffmpeg-629259bdb58061b7b7c1ae4cdc44599f6c0bb050.tar.gz |
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/mpegpicture.c')
-rw-r--r-- | libavcodec/mpegpicture.c | 2 |
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; } |