Commit fac4b7fb authored by Tristan Matthews's avatar Tristan Matthews

avcodec: fix missing include

Needed for av_freep
parent e0c33c3c
...@@ -37,6 +37,9 @@ ...@@ -37,6 +37,9 @@
(LIBAVCODEC_VERSION_MICRO >= 100 && LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( a, d, e ) ) ) (LIBAVCODEC_VERSION_MICRO >= 100 && LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( a, d, e ) ) )
# if (LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55, 52, 0)) # if (LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55, 52, 0))
#include <libavutil/mem.h>
static inline void avcodec_free_context( AVCodecContext **ctx ) static inline void avcodec_free_context( AVCodecContext **ctx )
{ {
av_freep( ctx ); av_freep( ctx );
......
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