diff options
Diffstat (limited to 'libavformat/img2enc.c')
-rw-r--r-- | libavformat/img2enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c index daf6fc3..3529e12 100644 --- a/libavformat/img2enc.c +++ b/libavformat/img2enc.c @@ -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; |