[FFmpeg-devel] [PATCH] lavc: reset codec on receiving packet after EOF in compat_decode

Nicolas George george at nsup.org
Sun Nov 26 20:37:02 EET 2017

Marton Balint (2017-11-26):
> Okay, I am exagarating a bit, but unconditionally returning AVERROR(ENOSYS)
> would be an even better incentive, no? :)

For invalid uses of the API that can be easily avoided by the
application (like not explicitly passing NULL to a function), a hard
crash is even better.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171126/e9eb41fd/attachment.sig>

More information about the ffmpeg-devel mailing list