]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aac_afh.c
gui: fix default stat command
[paraslash.git] / aac_afh.c
index 1f3ea6b3040dd9eafe52839a79931b9398c235f7..d60588b419ac7b504bd03f490dd64be513ad35ff 100644 (file)
--- a/aac_afh.c
+++ b/aac_afh.c
@@ -25,6 +25,7 @@
 #include "server.cmdline.h"
 #include "server.h"
 #include "afs.h"
+#include "afh.h"
 #include "error.h"
 #include "string.h"
 #include "aac.h"
@@ -113,7 +114,6 @@ static int read_chunk_table(size_t skip)
                        PARA_DEBUG_LOG("offset #%d: %zu\n", i, chunk_table[i]);
        }
        return 1;
-
 }
 
 long unsigned aac_set_chunk_tv(mp4AudioSpecificConfig *mp4ASC)
@@ -191,12 +191,11 @@ static int aac_get_file_info(FILE *file, char *info_str, long unsigned *frames,
 }
 
 /*
- * Simple stream reposition routine
+ * nothing to do as we'll seek to the correct offset in aac read_chunk() anyway
  */
-static int aac_reposition_stream(long unsigned request)
+static int aac_reposition_stream(__a_unused long unsigned request)
 {
        return 1;
-//     return -E_AAC_REPOS;
 }
 
 static char *aac_read_chunk(long unsigned current_chunk, ssize_t *len)