aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-19 09:23:22 +0100
committerMax Kellermann <max@duempel.org>2014-12-19 09:23:22 +0100
commitdd5aa2b483b4ea01b484b49086b0ff2c3ec867e7 (patch)
treec294b1c487bd30122253657524e051509a9eb132 /src/decoder
parent806494a25479f6e1cedea2eaa80d644a81150e26 (diff)
downloadmpd-dd5aa2b483b4ea01b484b49086b0ff2c3ec867e7.tar.gz
mpd-dd5aa2b483b4ea01b484b49086b0ff2c3ec867e7.tar.xz
mpd-dd5aa2b483b4ea01b484b49086b0ff2c3ec867e7.zip
decoder/ffmpeg: use av_free() instead of av_freep()
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/plugins/FfmpegDecoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/FfmpegDecoderPlugin.cxx b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
index 18ac002b3..9e3a14abf 100644
--- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx
+++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
@@ -717,7 +717,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);