On Tue, 4 Sep 2012, Derek Buitenhuis wrote:

On 04/09/2012 7:59 AM, Martin Storsjö wrote:
The data in coded_frame isn't allocated using get_buffer, but
is copied from the input frame to the encoder, so we should
not try to free it ourselves.

This fixes an assert failure when running in debug mode.
---
 libavcodec/proresenc.c |    3 ---
 1 file changed, 3 deletions(-)

Out of curiosity, does this pass valgrind?

Yes, no leaks or any other errors (nor were there any valgrind errors before the patch either).

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to