]> git.sesse.net Git - vlc/commitdiff
avcodec: fix missing include
authorTristan Matthews <le.businessman@gmail.com>
Sun, 14 Sep 2014 17:29:55 +0000 (13:29 -0400)
committerTristan Matthews <le.businessman@gmail.com>
Sun, 14 Sep 2014 17:29:55 +0000 (13:29 -0400)
Needed for av_freep

modules/codec/avcodec/avcommon_compat.h

index d6293d72279ab4074c86f0c7894c92c94007d639..fb2396f315925b757b747bbe6ff5efa62425ebf3 100644 (file)
@@ -37,6 +37,9 @@
       (LIBAVCODEC_VERSION_MICRO >= 100 && LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( a, d, e ) ) )
 
 # if (LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55, 52, 0))
+
+#include <libavutil/mem.h>
+
 static inline void avcodec_free_context( AVCodecContext **ctx )
 {
     av_freep( ctx );