From a4098e61748490f74e23db4aade98b421ebc74ee Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 16 Mar 2011 05:59:46 +0000 Subject: [PATCH] Sync test_codec to r29595. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29596 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/test_codec.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 30757381bf..855503a0ec 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c @@ -485,13 +485,6 @@ static void advance_buffer(size_t amount) } -/* Advance file buffer to a pointer location inside file buffer. */ -static void advance_buffer_loc(void *ptr) -{ - ci.curpos = ptr - (audiobuf - offset); -} - - /* Seek file buffer to position beginning of file. */ static bool seek_buffer(size_t newpos) { @@ -565,7 +558,6 @@ static void init_ci(void) ci.read_filebuf = read_filebuf; ci.request_buffer = request_buffer; ci.advance_buffer = advance_buffer; - ci.advance_buffer_loc = advance_buffer_loc; ci.seek_buffer = seek_buffer; ci.seek_complete = seek_complete; ci.request_next_track = request_next_track;