[FFmpeg-devel] [PATCH] lavc: reset codec on receiving packet after EOF in compat_decode
george at nsup.org
Thu Nov 9 16:10:19 EET 2017
Le nonidi 19 brumaire, an CCXXVI, Derek Buitenhuis a écrit :
> Is it more sensible to actually return an error here? Otherwise it's just enabling
> future incorrect code; API users tend to ignore stderr warnings. I guess an argument
> could be made both ways.
Actually, if the use of the API is clearly wrong, then an immediate
crash with an assert failure would be even better, IMHO, because it
cannot be ignored. But if there is code out there doing it, then a soft
transition with a warning would be in order.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the ffmpeg-devel