提交 3bcd5c1e 编写于 作者: C Clément Bœsch

avformat/img2enc: simplify split planes extension selection.

上级 3e036d40
......@@ -106,7 +106,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
if (!img->split_planes || i+1 >= desc->nb_components)
break;
filename[strlen(filename) - 1] = ((int[]){'U','V','A','x'})[i];
filename[strlen(filename) - 1] = "UVAx"[i];
}
} else {
pb[0] = s->pb;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册