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:
1fd55ec
)
vf_frei0r: do not increment string if it reached the end
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Fri, 5 Dec 2014 02:15:09 +0000
(
02:15
+0000)
committer
Luca Barbato
<lu_zero@gentoo.org>
Mon, 12 Jan 2015 22:18:01 +0000
(23:18 +0100)
Bug-Id: 778
CC: libav-stable@libav.org
libavfilter/vf_frei0r.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_frei0r.c
b/libavfilter/vf_frei0r.c
index 771443d02e55a0bde02e90d07062c8ae308aec19..0122b8d905f384b674ce8f767a909905ac59a30b 100644
(file)
--- a/
libavfilter/vf_frei0r.c
+++ b/
libavfilter/vf_frei0r.c
@@
-149,7
+149,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)