decoder/ffmpeg: use av_free() instead of av_freep()

This commit is contained in:
Max Kellermann 2014-12-19 09:23:22 +01:00
parent 087a9938d2
commit 47360ec906

View File

@ -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);