From 63ac81c8f50a19982025786fa2ddcd37e249862d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 30 Jan 2015 22:47:43 +0100 Subject: decoder/DsdLib: pass offset_type t dsdlib_tag_id3() --- src/decoder/plugins/DsdLib.cxx | 4 +--- src/decoder/plugins/DsdLib.hxx | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/decoder/plugins') diff --git a/src/decoder/plugins/DsdLib.cxx b/src/decoder/plugins/DsdLib.cxx index 0b006a71d..416439fef 100644 --- a/src/decoder/plugins/DsdLib.cxx +++ b/src/decoder/plugins/DsdLib.cxx @@ -107,10 +107,8 @@ dsdlib_valid_freq(uint32_t samplefreq) void dsdlib_tag_id3(InputStream &is, const struct tag_handler *handler, - void *handler_ctx, int64_t tagoffset) + void *handler_ctx, offset_type tagoffset) { - assert(tagoffset >= 0); - if (tagoffset == 0 || !is.KnownSize()) return; diff --git a/src/decoder/plugins/DsdLib.hxx b/src/decoder/plugins/DsdLib.hxx index 4aa4b4af1..27cd0d37f 100644 --- a/src/decoder/plugins/DsdLib.hxx +++ b/src/decoder/plugins/DsdLib.hxx @@ -81,6 +81,6 @@ dsdlib_valid_freq(uint32_t samplefreq); void dsdlib_tag_id3(InputStream &is, const struct tag_handler *handler, - void *handler_ctx, int64_t tagoffset); + void *handler_ctx, offset_type tagoffset); #endif -- cgit v1.2.3