git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31fdf30
)
vf_mp: check list in querry_format()
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 19 Oct 2012 17:51:33 +0000
(19:51 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 19 Oct 2012 17:59:38 +0000
(19:59 +0200)
Fixes CID717772
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_mp.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_mp.c
b/libavfilter/vf_mp.c
index
377a8b5
..
e31fccd
100644
(file)
--- a/
libavfilter/vf_mp.c
+++ b/
libavfilter/vf_mp.c
@@
-787,6
+787,9
@@
static int query_formats(AVFilterContext *ctx)
}
}
+ if (!avfmts)
+ return -1;
+
//We assume all allowed input formats are also allowed output formats
ff_set_common_formats(ctx, avfmts);
return 0;