mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Handle failure properly
Commited in SoC by Vitor Sessak on 2007-11-29 19:35:17 Originally committed as revision 12708 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6c66596eed
commit
5a7414f3ca
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user