OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e036d4
)
avformat/img2enc: simplify split planes extension selection.
author
Clément Bœsch
<u@pkh.me>
Thu, 7 Nov 2013 19:28:44 +0000
(20:28 +0100)
committer
Clément Bœsch
<u@pkh.me>
Thu, 7 Nov 2013 19:30:43 +0000
(20:30 +0100)
libavformat/img2enc.c
patch
|
blob
|
history
diff --git
a/libavformat/img2enc.c
b/libavformat/img2enc.c
index
daf6fc3
..
3529e12
100644
(file)
--- 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;