decoder/ffmpeg: use av_free() instead of av_freep()
This commit is contained in:
parent
806494a254
commit
dd5aa2b483
@ -717,7 +717,7 @@ ffmpeg_decode(Decoder &decoder, InputStream &input)
|
|||||||
#elif LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 28, 0)
|
#elif LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 28, 0)
|
||||||
avcodec_free_frame(&frame);
|
avcodec_free_frame(&frame);
|
||||||
#else
|
#else
|
||||||
av_freep(&frame);
|
av_free(frame);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
avcodec_close(codec_context);
|
avcodec_close(codec_context);
|
||||||
|
Loading…
Reference in New Issue
Block a user