提交 b52ca2ce 编写于 作者: P Paul B Mahol

avformat/sccdec: make splitting more robust

上级 3cf2f515
......@@ -140,7 +140,7 @@ static int scc_read_header(AVFormatContext *s)
lline = NULL;
if (i > 12 && o1 == 0x94 && o2 == 0x20 && saveptr &&
(av_strncasecmp(saveptr, "942f", 4) || !av_strncasecmp(saveptr, "942c", 4))) {
(av_strncasecmp(saveptr, "942f", 4) && !av_strncasecmp(saveptr, "942c", 4))) {
out[i] = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册