diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-05-06 17:09:33 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-05-06 17:09:33 +0000 |
| commit | ea7b638267352050e162334212344efe2fc8baec (patch) | |
| tree | d37f020436f66e45e00c6c4caac37efefee5aef9 /src/plugins/Input/ffmpeg/decoder_ffmpeg.h | |
| parent | 72cd2f350a692ef0c24f2ff4cc706efe826292f0 (diff) | |
| download | qmmp-ea7b638267352050e162334212344efe2fc8baec.tar.gz qmmp-ea7b638267352050e162334212344efe2fc8baec.tar.bz2 qmmp-ea7b638267352050e162334212344efe2fc8baec.zip | |
FFMEG plugin: fixed build again
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@365 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/ffmpeg/decoder_ffmpeg.h')
| -rw-r--r-- | src/plugins/Input/ffmpeg/decoder_ffmpeg.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/plugins/Input/ffmpeg/decoder_ffmpeg.h b/src/plugins/Input/ffmpeg/decoder_ffmpeg.h index ec0364af4..37265e31f 100644 --- a/src/plugins/Input/ffmpeg/decoder_ffmpeg.h +++ b/src/plugins/Input/ffmpeg/decoder_ffmpeg.h @@ -22,8 +22,21 @@ #define __decoder_ffmeg_h extern "C"{ +#if defined HAVE_FFMPEG_AVFORMAT_H +#include <ffmpeg/avformat.h> +#elif defined HAVE_LIBAVFORMAT_AVFORMAT_H +#include <libavformat/avformat.h> +#else #include <avformat.h> +#endif + +#if defined HAVE_FFMPEG_AVCODEC_H +#include <ffmpeg/avcodec.h> +#elif defined HAVE_LIBAVCODEC_AVCODEC_H +#include <libavcodec/avcodec.h> +#else #include <avcodec.h> +#endif } #include <qmmp/decoder.h> |
