vlc | branch: master | Tristan Matthews <le.business...@gmail.com> | Sun Sep 14 13:29:55 2014 -0400| [fac4b7fb6ab88d97df1d4352fbc1848a4cb6d89a] | committer: Tristan Matthews
avcodec: fix missing include Needed for av_freep > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fac4b7fb6ab88d97df1d4352fbc1848a4cb6d89a --- modules/codec/avcodec/avcommon_compat.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/codec/avcodec/avcommon_compat.h b/modules/codec/avcodec/avcommon_compat.h index d6293d7..fb2396f 100644 --- a/modules/codec/avcodec/avcommon_compat.h +++ b/modules/codec/avcodec/avcommon_compat.h @@ -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 ); _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits