You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-16 08:36:51 +02:00
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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user