OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'n2.1.8' of git://source.ffmpeg.org/ffmpeg into kitkat-x86
[android-x86/external-ffmpeg.git]
/
libavfilter
/
split.c
diff --git
a/libavfilter/split.c
b/libavfilter/split.c
index
21e1a60
..
a14cf05
100644
(file)
--- a/
libavfilter/split.c
+++ b/
libavfilter/split.c
@@
-52,6
+52,8
@@
static av_cold int split_init(AVFilterContext *ctx)
snprintf(name, sizeof(name), "output%d", i);
pad.type = ctx->filter->inputs[0].type;
pad.name = av_strdup(name);
+ if (!pad.name)
+ return AVERROR(ENOMEM);
ff_insert_outpad(ctx, i, &pad);
}