Commit 5f91febe authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

avcodec: fix compilation with recent libavutil

parent 5707f03f
......@@ -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>
......
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