]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
Fix build fail
authorqydysky <qydysky@foxmail.com>
Tue, 3 Oct 2023 13:40:56 +0000 (21:40 +0800)
committerqydysky <qydysky@foxmail.com>
Tue, 3 Oct 2023 13:40:56 +0000 (21:40 +0800)
Reply/F/fmp4Tomp4/reader.go

index 95d8125f650b356d82496e154f247bd5defc7dfa..9ed224963a582f744fabc4302be1cdfd67e24482 100644 (file)
@@ -59,8 +59,8 @@ func (t *reader) Read(box Box, size int) BoxReader {
        } else {
                t.bufChange(size)
        }
-       t.f.SeekIndex(box.Index, file.AtOrigin)
-       t.f.Read(t.buf)
+       _ = t.f.SeekIndex(box.Index, file.AtOrigin)
+       _, _ = t.f.Read(t.buf)
        return BoxReader{t.buf}
 }