1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-05 01:51:53 +02:00

avfilter/vf_frei0r: fix out of array read

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-10-04 11:16:35 +02:00
parent d4dc673455
commit 02a6ee5168

View File

@ -151,6 +151,7 @@ static int set_params(AVFilterContext *ctx, const char *params)
if (*params) {
if (!(param = av_get_token(&params, "|")))
return AVERROR(ENOMEM);
if (*params)
params++; /* skip ':' */
ret = set_param(ctx, info, i, param);
av_free(param);