From 951cbdde7ed6f42d4c3bf992688b38673181de63 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 29 Mar 2008 06:40:45 +0000 Subject: Oops. test_codec should be updated too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16875 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/test_codec.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'apps/plugins/test_codec.c') diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index f33d83f..69d905a 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c @@ -372,16 +372,6 @@ static void seek_complete(void) /* Do nothing */ } - -/* Calculate mp3 seek position from given time data in ms. */ -static off_t mp3_get_filepos(int newtime) -{ - /* We don't ask the codec to seek, so no need to implement this. */ - (void)newtime; - return 0; -} - - /* Request file change from file buffer. Returns true is next track is available and changed. If return value is false, codec should exit immediately with PLUGIN_OK status. */ @@ -448,7 +438,6 @@ static void init_ci(void) ci.advance_buffer_loc = advance_buffer_loc; ci.seek_buffer = seek_buffer; ci.seek_complete = seek_complete; - ci.mp3_get_filepos = mp3_get_filepos; ci.request_next_track = request_next_track; ci.discard_codec = discard_codec; ci.set_offset = set_offset; -- cgit v1.1