diff options
author | Marvin Scholz <epirat07@gmail.com> | 2022-11-26 15:46:21 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-12-01 11:21:14 +0100 |
commit | 5b13238ce095641555e411b6ea950b03dcb040d5 (patch) | |
tree | adeda84765446d46577d17da6dbfaacb491f5329 /libavcodec/librav1e.c | |
parent | e048d06621b9d74eba0a36298c8ab07d098f1278 (diff) | |
download | ffmpeg-5b13238ce095641555e411b6ea950b03dcb040d5.tar.gz |
avcodec/librav1e: remove unnecessary variable
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/librav1e.c')
-rw-r--r-- | libavcodec/librav1e.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/librav1e.c b/libavcodec/librav1e.c index f48d5e0eb4..3481b7637d 100644 --- a/libavcodec/librav1e.c +++ b/libavcodec/librav1e.c @@ -245,8 +245,7 @@ static av_cold int librav1e_encode_init(AVCodecContext *avctx) { const AVDictionaryEntry *en = NULL; while ((en = av_dict_iterate(ctx->rav1e_opts, en))) { - int parse_ret = rav1e_config_parse(cfg, en->key, en->value); - if (parse_ret < 0) + if (rav1e_config_parse(cfg, en->key, en->value) < 0) av_log(avctx, AV_LOG_WARNING, "Invalid value for %s: %s.\n", en->key, en->value); } } |