From 47360ec906b8d7354ce985a973252aa6194706ac Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 19 Dec 2014 09:23:22 +0100 Subject: [PATCH] decoder/ffmpeg: use av_free() instead of av_freep() --- src/decoder/plugins/FfmpegDecoderPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decoder/plugins/FfmpegDecoderPlugin.cxx b/src/decoder/plugins/FfmpegDecoderPlugin.cxx index 70534f218..25293ad51 100644 --- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx +++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx @@ -698,7 +698,7 @@ ffmpeg_decode(Decoder &decoder, InputStream &input) #elif LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 28, 0) avcodec_free_frame(&frame); #else - av_freep(&frame); + av_free(frame); #endif avcodec_close(codec_context);