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/plugins/DsdLib.cxx | |
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/plugins/DsdLib.cxx')
-rw-r--r-- | src/decoder/plugins/DsdLib.cxx | 4 |
1 files changed, 1 insertions, 3 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; |