Silence warning caused by my last commit

Commited in SoC by Vitor Sessak on 2007-10-30 21:15:19

Originally committed as revision 12706 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak 2008-04-04 20:07:29 +00:00
parent 5a1dacda9d
commit 9eb36c05df

View File

@ -446,7 +446,7 @@ static AVFilterContext *create_filter_with_args(const char *filt, void *opaque)
av_log(NULL, AV_LOG_INFO, "creating filter \"%s\" with args \"%s\"\n",
name, args ? args : "(none)");
if(ret = avfilter_open(avfilter_get_by_name(name), NULL)) {
if((ret = avfilter_open(avfilter_get_by_name(name), NULL))) {
if(avfilter_init_filter(ret, args, opaque)) {
av_log(NULL, AV_LOG_ERROR, "error initializing filter!\n");
avfilter_destroy(ret);