mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-21 16:32:22 +08:00
media-server使用原仓库并适配 (#1180)
* remote media-server * 适配第三方库media-server使用原仓库 * ireader/media-server库使用gitee镜像 Co-authored-by: monktan <monktan@tencent.com>
This commit is contained in:
@@ -107,13 +107,13 @@ static struct mov_buffer_t s_io = {
|
||||
MP4FileIO *thiz = (MP4FileIO *) ctx;
|
||||
return thiz->onWrite(data, bytes);
|
||||
},
|
||||
[](void *ctx, uint64_t offset) {
|
||||
[](void *ctx, int64_t offset) {
|
||||
MP4FileIO *thiz = (MP4FileIO *) ctx;
|
||||
return thiz->onSeek(offset);
|
||||
},
|
||||
[](void *ctx) {
|
||||
MP4FileIO *thiz = (MP4FileIO *) ctx;
|
||||
return (uint64_t)thiz->onTell();
|
||||
return (int64_t)thiz->onTell();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user