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>
release/5.1
Andreas Rheinhardt 3 years ago
parent c3e780c39b
commit 629259bdb5
  1. 2
      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;
}

Loading…
Cancel
Save