avcodec/decode: fetch packets from the pkt_props FIFO on every frame returned
authorJames Almer <jamrial@gmail.com>
Fri, 18 Jun 2021 20:58:18 +0000 (17:58 -0300)
committerJames Almer <jamrial@gmail.com>
Mon, 21 Jun 2021 17:59:54 +0000 (14:59 -0300)
commita4fb03563ab918bf9641365d08b4363590ced1eb
treed56383a2ac7089bf20c59bc148ecfd76634f8d70
parent05f9b3a0a570fcacbd38570f0860afdabc80a791
avcodec/decode: fetch packets from the pkt_props FIFO on every frame returned

Fixes memleaks on decoders that don't call ff_decode_frame_props(), like
libdav1d.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/decode.c