提交 7ad06beb 编写于 作者: A Alex Converse

mov: 10l: Terminate string with 0 not '0'

上级 8fb22c3d
......@@ -2380,7 +2380,7 @@ static void mov_read_chapters(AVFormatContext *s)
else {
AV_WB16(title, ch);
if (len == 1 || len == 2)
title[len] = '0';
title[len] = 0;
else
avio_get_str(sc->pb, len - 2, title + 2, title_len - 2);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册