[FFmpeg-cvslog] avcodec/mpegpicture: Don't check for DELAYED_PIC_REF
Andreas Rheinhardt
git at videolan.org
Sun Feb 13 21:26:09 EET 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Feb 2 04:59:55 2022 +0100| [629259bdb58061b7b7c1ae4cdc44599f6c0bb050] | committer: Andreas Rheinhardt
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 at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=629259bdb58061b7b7c1ae4cdc44599f6c0bb050
---
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;
}
More information about the ffmpeg-cvslog
mailing list