update libavformat/mov.c.

ffmpeg问题修改

Signed-off-by: ziyugao <gaoziyu0614@outlook.com>
This commit is contained in:
ziyugao 2024-08-20 02:23:56 +00:00 committed by Gitee
parent 1334d9f2e5
commit b9139b53be
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -6299,7 +6299,7 @@ static int mov_read_free(MOVContext *c, AVIOContext *pb, MOVAtom atom)
if (atom.size < 8)
return 0;
ret = avio_read(pb, content, FFMIN(sizeof(content), atom.size));
ret = ffio_read_size(pb, content, FFMIN(sizeof(content), atom.size));
if (ret < 0)
return ret;