[FFmpeg-devel] [PATCH v5 2/2] lavf/mpegenc: fix termination on error conditions

Nicolas Gaullier nicolas.gaullier at cji.paris
Fri Apr 1 10:05:31 EEST 2022


>in case of errors, the context is left in an inconsistent state: The PacketDesc linked-list claims that there is data in the FIFO although this is wrong. I always prefer avoiding such scenarios over fixing them lateron. In this case, fixing them would mean growing the FIFO before >allocating the new PacketDesc (if the FIFO needs growing at all). Shall I do this or do you want to?
>(In any case, thanks for reporting this issue.)
>
>- Andreas

I fully understand.
I think the most time-effective is to let you do that if you are ok, you also know this code better than me.
Thanks to you

Nicolas


More information about the ffmpeg-devel mailing list