Le 2014-07-28 12:02, Diego Biurrun a écrit :
---
All free()-type functions are NULL-resistant, this function should
be no different...
free()-type function take a pointer to the allocated area, while
av_freep() takes a pointer to a pointer to the allocated area. I think
the current av_freep() works just fine if supplied a pointer to a NULL
pointer. Hence I do not think your drawn comparison is valid.
That said, if someone wants to support NULL pointer, it's of course
possible regardles.
--
Rémi Denis-Courmont
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel