Commit 3bcd5c1e authored by Clément Bœsch's avatar Clément Bœsch

avformat/img2enc: simplify split planes extension selection.

parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment