Commit 79b70e47 authored by Paul B Mahol's avatar Paul B Mahol

w64dec: fix skipping of unknown guids

Regression since 14d50c19.
Fixes #2932.
Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent fdd1aaf8
......@@ -700,7 +700,7 @@ static int w64_read_header(AVFormatContext *s)
avio_skip(pb, end - avio_tell(pb));
} else {
av_log(s, AV_LOG_DEBUG, "unknown guid: "FF_PRI_GUID"\n", FF_ARG_GUID(guid));
avio_skip(pb, size - 24);
avio_skip(pb, FFALIGN(size, INT64_C(8)) - 24);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment