1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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>
This commit is contained in:
Andreas Rheinhardt 2022-02-02 04:59:55 +01:00
parent c3e780c39b
commit 629259bdb5

View File

@ -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;
}