]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aac_afh.c
kill the reposition handler in struct audio_format_handler
[paraslash.git] / aac_afh.c
index 338b7827caf1d8d5a4399214c6c9dff92aaa77c3..e5ee2eef9520ea57631a6b6f112434de87ffee29 100644 (file)
--- a/aac_afh.c
+++ b/aac_afh.c
@@ -193,14 +193,6 @@ static int aac_get_file_info(FILE *file, char *info_str, long unsigned *frames,
        return 1;
 }
 
-/*
- * nothing to do as we'll seek to the correct offset in aac read_chunk() anyway
- */
-static int aac_reposition_stream(__a_unused long unsigned request)
-{
-       return 1;
-}
-
 static char *aac_read_chunk(long unsigned current_chunk, ssize_t *len)
 {
        int ret;
@@ -238,7 +230,6 @@ static const char* aac_suffixes[] = {"m4a", "mp4", NULL};
 void aac_afh_init(struct audio_format_handler *p)
 {
        af = p;
-       af->reposition_stream = aac_reposition_stream;
        af->get_file_info = aac_get_file_info,
        af->read_chunk = aac_read_chunk;
        af->close_audio_file = aac_close_audio_file;