summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-01-06 13:20:58 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2011-01-06 13:20:58 +0100
commit1ec5d937f619e3a9caa77b2210042607f00ab83c (patch)
treed612e56e6f100707d16d9d7273af48d2a81f823e /decoders
parent822ae13835c2f6443d5b4fface6f3f547bcfcb11 (diff)
Fixed libs and includes to compile under Linux.
Diffstat (limited to 'decoders')
-rw-r--r--decoders/ffmpeg_decoder.h3
-rw-r--r--decoders/mpg123_decoder.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/decoders/ffmpeg_decoder.h b/decoders/ffmpeg_decoder.h
index a77e303..c6e0db1 100644
--- a/decoders/ffmpeg_decoder.h
+++ b/decoders/ffmpeg_decoder.h
@@ -3,6 +3,9 @@
#include "decoder.h"
+// needed for UINT64_C in libavutil
+#include <boost/cstdint.hpp>
+
extern "C" {
#include <libavformat/avformat.h>
#include <libavcodec/avcodec.h>
diff --git a/decoders/mpg123_decoder.h b/decoders/mpg123_decoder.h
index f71dbe7..bc35ed9 100644
--- a/decoders/mpg123_decoder.h
+++ b/decoders/mpg123_decoder.h
@@ -5,6 +5,8 @@
#include <fstream>
#include <mpg123.h>
+// needed for uint8_t
+#include <boost/cstdint.hpp>
class DecoderMpg123 : public Decoder {
private: