1
0
Fork 0
forked from len0rd/rockbox

Oops. test_codec should be updated too.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16875 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-03-29 06:40:45 +00:00
parent 4855e734f3
commit 951cbdde7e

View file

@ -372,16 +372,6 @@ static void seek_complete(void)
/* Do nothing */ /* 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 /* Request file change from file buffer. Returns true is next
track is available and changed. If return value is false, track is available and changed. If return value is false,
codec should exit immediately with PLUGIN_OK status. */ 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.advance_buffer_loc = advance_buffer_loc;
ci.seek_buffer = seek_buffer; ci.seek_buffer = seek_buffer;
ci.seek_complete = seek_complete; ci.seek_complete = seek_complete;
ci.mp3_get_filepos = mp3_get_filepos;
ci.request_next_track = request_next_track; ci.request_next_track = request_next_track;
ci.discard_codec = discard_codec; ci.discard_codec = discard_codec;
ci.set_offset = set_offset; ci.set_offset = set_offset;