[SCM] libav/experimental: Handle av_realloc() failure Commited in SoC by Vitor Sessak on 2008-04-04 15:35:38
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:21:16 UTC 2013
The following commit has been merged in the experimental branch:
commit 046f49baa249115e99d40fe3462348b4dd675ee0
Author: Vitor Sessak <vitor1001 at gmail.com>
Date: Sat May 24 20:38:15 2008 +0000
Handle av_realloc() failure
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
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 78999af..0a77d07 100644
--- 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);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list