diff options
author | Max Kellermann <max@duempel.org> | 2015-01-30 22:47:43 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-01-30 22:47:43 +0100 |
commit | 63ac81c8f50a19982025786fa2ddcd37e249862d (patch) | |
tree | 086ceec5963fa8e681f580b12a8f99a11e2814e3 /src/decoder | |
parent | 557bee61d57287827fb972e859ee454ac920a2a9 (diff) | |
download | mpd-63ac81c8f50a19982025786fa2ddcd37e249862d.tar.gz mpd-63ac81c8f50a19982025786fa2ddcd37e249862d.tar.xz mpd-63ac81c8f50a19982025786fa2ddcd37e249862d.zip |
decoder/DsdLib: pass offset_type t dsdlib_tag_id3()
Diffstat (limited to 'src/decoder')
-rw-r--r-- | src/decoder/plugins/DsdLib.cxx | 4 | ||||
-rw-r--r-- | src/decoder/plugins/DsdLib.hxx | 2 |
2 files changed, 2 insertions, 4 deletions
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 |