Commit 63ac81c8 authored by Max Kellermann's avatar Max Kellermann

decoder/DsdLib: pass offset_type t dsdlib_tag_id3()

parent 557bee61
...@@ -107,10 +107,8 @@ dsdlib_valid_freq(uint32_t samplefreq) ...@@ -107,10 +107,8 @@ dsdlib_valid_freq(uint32_t samplefreq)
void void
dsdlib_tag_id3(InputStream &is, dsdlib_tag_id3(InputStream &is,
const struct tag_handler *handler, 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()) if (tagoffset == 0 || !is.KnownSize())
return; return;
......
...@@ -81,6 +81,6 @@ dsdlib_valid_freq(uint32_t samplefreq); ...@@ -81,6 +81,6 @@ dsdlib_valid_freq(uint32_t samplefreq);
void void
dsdlib_tag_id3(InputStream &is, dsdlib_tag_id3(InputStream &is,
const struct tag_handler *handler, const struct tag_handler *handler,
void *handler_ctx, int64_t tagoffset); void *handler_ctx, offset_type tagoffset);
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment