mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
vf_frei0r: do not increment string if it reached the end
Bug-Id: 778 CC: libav-stable@libav.org
This commit is contained in:
parent
90411b333d
commit
d0b224054f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user