From: Diego Biurrun <[email protected]> To: libav development <[email protected]> Subject: Re: [libav-devel] [PATCH] New Libav API usage example with an external library Message-ID: <[email protected]>
The linefree(converted_input_samples); generates the following warning: CC doc/examples/mp3_aac.o In function ?init_converted_samples.isra.1?, inlined from ?read_decode_convert_and_store? at doc/examples/mp3_aac.c:479:35, inlined from ?main? at doc/examples/mp3_aac.c:694:46: doc/examples/mp3_aac.c:379:13: warning: attempt to free a non-heap object ?converted_input_samples? [enabled by default] Diego
I cannot reproduce this warning. Besides, it in incorrect, since the variable in question is allocated on the heap in init_converted_samples (using calloc) and consequently freed. Best regards Andreas _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
