You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-16 08:36:51 +02: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