OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4dc673
)
avfilter/vf_frei0r: fix out of array read
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 4 Oct 2013 09:16:35 +0000
(11:16 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 4 Oct 2013 09:16:35 +0000
(11:16 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_frei0r.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_frei0r.c
b/libavfilter/vf_frei0r.c
index
8300176
..
67d25fb
100644
(file)
--- a/
libavfilter/vf_frei0r.c
+++ b/
libavfilter/vf_frei0r.c
@@
-151,7
+151,8
@@
static int set_params(AVFilterContext *ctx, const char *params)
if (*params) {
if (!(param = av_get_token(¶ms, "|")))
return AVERROR(ENOMEM);
- params++; /* skip ':' */
+ if (*params)
+ params++; /* skip ':' */
ret = set_param(ctx, info, i, param);
av_free(param);
if (ret < 0)