mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-05 14:30:00 +01:00
avformat/takdec: Don't truncate return value
This is unlikely to matter for real files. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -141,10 +141,11 @@ static int tak_read_header(AVFormatContext *s)
|
||||
tc->data_end += curpos;
|
||||
return 0;
|
||||
}
|
||||
default:
|
||||
ret = avio_skip(pb, size);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
default: {
|
||||
int64_t ret64 = avio_skip(pb, size);
|
||||
if (ret64 < 0)
|
||||
return ret64;
|
||||
}
|
||||
}
|
||||
|
||||
if (type == TAK_METADATA_STREAMINFO) {
|
||||
|
||||
Reference in New Issue
Block a user