[FFmpeg-devel] [PATCH 31/39] lavc/decode: wrap AV_FRAME_FLAG_DISCARD handling in a loop

Michael Niedermayer michael at niedermayer.cc
Thu Jul 18 00:20:19 EEST 2024


On Tue, Jul 16, 2024 at 07:11:46PM +0200, Anton Khirnov wrote:
> Makes sure discarded frames do not cause EAGAIN to be returned during
> flushing, which is forbidden.
> ---
>  libavcodec/decode.c | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)

giving execution back to the user at finer granularity would be better

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240717/dbf59ce7/attachment.sig>


More information about the ffmpeg-devel mailing list