summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-03-16 05:59:46 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-03-16 05:59:46 +0000
commita4098e61748490f74e23db4aade98b421ebc74ee (patch)
tree5751daf8537d553084373340a16314200fcae041
parent56dd75d204f861785ca78ae1c6eb506d5f2ea7e9 (diff)
Sync test_codec to r29595.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29596 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/test_codec.c8
1 files changed, 0 insertions, 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 <newpos> 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;