vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Mon Aug 31 07:20:33 2015 +0200| [5f91febe28de339a41b450054f9e6d240d23a8a8] | committer: Jean-Baptiste Kempf
avcodec: fix compilation with recent libavutil > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f91febe28de339a41b450054f9e6d240d23a8a8 --- modules/codec/avcodec/avcommon_compat.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/codec/avcodec/avcommon_compat.h b/modules/codec/avcodec/avcommon_compat.h index d58f5b1..b179b3e 100644 --- a/modules/codec/avcodec/avcommon_compat.h +++ b/modules/codec/avcodec/avcommon_compat.h @@ -75,6 +75,11 @@ static inline void avcodec_free_context( AVCodecContext **ctx ) #endif /* HAVE_LIBAVUTIL_AVUTIL_H */ +/* libavutil/pixfmt.h */ +#ifndef PixelFormat +# define PixelFormat AVPixelFormat +#endif + #ifdef HAVE_LIBAVFORMAT_AVFORMAT_H # include <libavformat/avformat.h> _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
