mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/librav1e: remove unnecessary variable
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
e048d06621
commit
5b13238ce0
|
@ -245,8 +245,7 @@ static av_cold int librav1e_encode_init(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
const AVDictionaryEntry *en = NULL;
|
const AVDictionaryEntry *en = NULL;
|
||||||
while ((en = av_dict_iterate(ctx->rav1e_opts, en))) {
|
while ((en = av_dict_iterate(ctx->rav1e_opts, en))) {
|
||||||
int parse_ret = rav1e_config_parse(cfg, en->key, en->value);
|
if (rav1e_config_parse(cfg, en->key, en->value) < 0)
|
||||||
if (parse_ret < 0)
|
|
||||||
av_log(avctx, AV_LOG_WARNING, "Invalid value for %s: %s.\n", en->key, en->value);
|
av_log(avctx, AV_LOG_WARNING, "Invalid value for %s: %s.\n", en->key, en->value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue