On 18/05/15 22:06, Anton Khirnov wrote:
Quoting Luca Barbato (2015-05-14 19:30:56)
Two patches, 1 is for general safety, while the second is possibly
stable-worthy.


If the problem this is supposed to solve is a caller sending a packet
with uninitialized fields, then I'd say the problem is on the caller
side. One should never send uninitialized data into the API and expect
it to behave sanely. That's why av_init_packet() exists at all.


Thus why I thought of trying to document it, but wouldn't hurt to add that check and avoid grief to somebody basing his work on just our documentation.

lu
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to