Commit b340be67 authored by vitor's avatar vitor

Handle failure properly

Commited in SoC by Vitor Sessak on 2007-11-29 19:35:17


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12708 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7cbb9948
...@@ -451,7 +451,12 @@ static AVFilterContext *create_filter_with_args(const char *filt, void *opaque) ...@@ -451,7 +451,12 @@ static AVFilterContext *create_filter_with_args(const char *filt, void *opaque)
avfilter_destroy(ret); avfilter_destroy(ret);
goto fail; goto fail;
} }
} else av_log(NULL, AV_LOG_ERROR, "error creating filter!\n"); } else {
av_log(NULL, AV_LOG_ERROR,
"error creating filter \"%s\" with args \"%s\"\n",
name, args ? args : "(none)");
return NULL;
}
av_free(filter); av_free(filter);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment