Commit cdf35ce0 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

avcodec: fix avutil55 audioconvert compilation

parent 5f91febe
......@@ -36,12 +36,13 @@
#include <vlc_codec.h>
#include <vlc_avcodec.h>
#include "avcodec.h"
#include <libavcodec/avcodec.h>
#include <libavutil/mem.h>
#include <libavutil/audioconvert.h>
#include "avcodec.h"
/*****************************************************************************
* decoder_sys_t : decoder descriptor
......
......@@ -75,6 +75,10 @@ static inline void avcodec_free_context( AVCodecContext **ctx )
#endif /* HAVE_LIBAVUTIL_AVUTIL_H */
#if LIBAVUTIL_VERSION_MAJOR >= 55
# define FF_API_AUDIOCONVERT 1
#endif
/* libavutil/pixfmt.h */
#ifndef PixelFormat
# define PixelFormat AVPixelFormat
......
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