From: Andreas Rheinhardt <[email protected]> This is unlikely to matter for real files.
Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavformat/takdec.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libavformat/takdec.c b/libavformat/takdec.c index b8f76aaa67..c1271601b5 100644 --- a/libavformat/takdec.c +++ b/libavformat/takdec.c @@ -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) { -- ffmpeg-codebot _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
