projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c66596
)
Handle failure properly
author
Vitor Sessak
<vitor1001@gmail.com>
Fri, 4 Apr 2008 20:07:34 +0000
(20:07 +0000)
committer
Vitor Sessak
<vitor1001@gmail.com>
Fri, 4 Apr 2008 20:07:34 +0000
(20:07 +0000)
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
libavfilter/avfiltergraph.c
patch
|
blob
|
history
diff --git
a/libavfilter/avfiltergraph.c
b/libavfilter/avfiltergraph.c
index 649355fb25a9d5331e378a12499886a7d33bef1b..26f828010904fd1e645cbe64b8d0873e82a2707e 100644
(file)
--- a/
libavfilter/avfiltergraph.c
+++ b/
libavfilter/avfiltergraph.c
@@
-451,7
+451,12
@@
static AVFilterContext *create_filter_with_args(const char *filt, void *opaque)
avfilter_destroy(ret);
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);