[FFmpeg-devel] [PATCH] avutil: Added selftest for libavutil/audio_fifo.c

James Almer jamrial at gmail.com
Thu Dec 22 02:45:39 EET 2016


On 12/20/2016 11:36 PM, Michael Niedermayer wrote:
> On Tue, Dec 20, 2016 at 04:53:51PM -0800, Thomas Turner wrote:
>> Signed-off-by: Thomas Turner <thomastdt at googlemail.com>
>> ---
>>  libavutil/Makefile           |   1 +
>>  libavutil/tests/audio_fifo.c | 196 +++++++++++++++++++++++++++++++++++++
>>  tests/fate/libavutil.mak     |   4 +
>>  tests/ref/fate/audio_fifo    | 228 +++++++++++++++++++++++++++++++++++++++++++
>>  4 files changed, 429 insertions(+)
>>  create mode 100644 libavutil/tests/audio_fifo.c
>>  create mode 100644 tests/ref/fate/audio_fifo
> 
> applied
> 
> thx

This is crashing on some fate clients.

I noticed it's using malloc and free instead of the av_malloc family,
so maybe it's related to that?
Patch attached in any case, it's proper even if not the reason behind
the crashes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-test-audio_fifo-use-av_malloc-family-of-functions.patch
Type: text/x-patch
Size: 2323 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161221/d5114522/attachment.bin>


More information about the ffmpeg-devel mailing list