Commit 670d3189 authored by Fredrik Hubinette's avatar Fredrik Hubinette Committed by James Almer

avformat/id3v2: fix leak in chapter parsing

Reviewed-on: 's avatarDale Curtis <>
Signed-off-by: 's avatarJames Almer <>
parent 60b385a5
......@@ -688,9 +688,9 @@ static void read_chapter(AVFormatContext *s, AVIOContext *pb, int len, const cha
if (decode_str(s, pb, 0, &dst, &len) < 0)
goto end;
if (len < 16)
goto end;
start = avio_rb32(pb);
end = avio_rb32(pb);
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