summaryrefslogtreecommitdiff
path: root/vdr_decoder_flac.c
diff options
context:
space:
mode:
Diffstat (limited to 'vdr_decoder_flac.c')
-rw-r--r--vdr_decoder_flac.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/vdr_decoder_flac.c b/vdr_decoder_flac.c
index f18ceab..76d15dd 100644
--- a/vdr_decoder_flac.c
+++ b/vdr_decoder_flac.c
@@ -11,17 +11,20 @@
#ifdef HAVE_FLAC
#define DEBUG
-#include "vdr_setup.h"
-#include "vdr_decoder_flac.h"
+
+#include <string>
+#include <stdlib.h>
+#include <stdio.h>
#include "mg_tools.h"
#include "mg_db.h"
+#include "vdr_setup.h"
+#include "vdr_decoder_flac.h"
+
+
#include <mad.h>
-#include <string>
-#include <stdlib.h>
-#include <stdio.h>
using namespace std;
@@ -82,7 +85,7 @@ bool mgFlacDecoder::initialize()
m_reservoir[0] = new FLAC__int32[MAX_RES_SIZE];
m_reservoir[1] = new FLAC__int32[MAX_RES_SIZE];
- FLAC::Decoder::File::State d = init(); // TODO: check this
+ /*FLAC::Decoder::File::State d =*/ init(); // TODO: check this
process_until_end_of_metadata(); // basically just skip metadata