git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0703f5
)
Handle av_realloc() failure
author
Vitor Sessak
<vitor1001@gmail.com>
Sat, 24 May 2008 20:38:15 +0000
(20:38 +0000)
committer
Vitor Sessak
<vitor1001@gmail.com>
Sat, 24 May 2008 20:38:15 +0000
(20:38 +0000)
Commited in SoC by Vitor Sessak on 2008-04-04 15:35:38
Originally committed as revision 13287 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavfilter/graphparser.c
patch
|
blob
|
history
diff --git
a/libavfilter/graphparser.c
b/libavfilter/graphparser.c
index
78999af
..
0a77d07
100644
(file)
--- a/
libavfilter/graphparser.c
+++ b/
libavfilter/graphparser.c
@@
-56,7
+56,10
@@
static int create_filter(AVFilterGraph *ctx, int index, char *name,
"error creating filter '%s'\n", name);
return -1;
}
- avfilter_graph_add_filter(ctx, filt);
+
+ if (avfilter_graph_add_filter(ctx, filt) < 0)
+ return -1;
+
if(avfilter_init_filter(filt, args, NULL)) {
av_log(&log_ctx, AV_LOG_ERROR,
"error initializing filter '%s'\n", name);