mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Patch the remaining uses or FFmpeg APIs
This commit is contained in:
committed by
John Preston
parent
21b0454461
commit
c6c2a44e9d
@@ -181,7 +181,7 @@ struct Instance::Inner::Private {
|
||||
|
||||
int32 nbytes = qMin(l->data.size() - l->dataPos, int32(buf_size));
|
||||
if (nbytes <= 0) {
|
||||
return 0;
|
||||
return AVERROR_EOF;
|
||||
}
|
||||
|
||||
memcpy(buf, l->data.constData() + l->dataPos, nbytes);
|
||||
|
Reference in New Issue
Block a user