On Wed, 16 Sep 2015, Luca Barbato wrote:
And avoid a memory leak.
---
I need to doublecheck what happens to buf.
If we don't do *bufptr, the caller still owns the buffer (and it isn't
leaked).
So this seems fine to me. In practice it doesn't make much difference
though since the return values from here aren't really used much by the
caller, but it is a step in the right direction at least.
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel