Commit 47360ec9 authored by Max Kellermann's avatar Max Kellermann

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

parent 087a9938
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment