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/decoderffmpegfactory.cpp | |
| 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/decoderffmpegfactory.cpp')
| -rw-r--r-- | src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp b/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp index 064c9774f..77d4088d8 100644 --- a/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp +++ b/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp @@ -1,8 +1,21 @@ #include <QtGui> 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 "detailsdialog.h" |
