diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-16 04:25:39 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-16 04:26:59 +0200 |
commit | ec0e0eb4c16f1ac1b0c0bb5fe34a34ebab0b3749 (patch) | |
tree | 4aba7219c17524adf9127dc52de52efaf75c8dc5 /libavfilter/vf_scale.c | |
parent | 6d246f440e46e12dfe4ff433c5ac0ceffd134143 (diff) |
avfilter/vf_scale+aresample: minor simpification
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_scale.c')
-rw-r--r-- | libavfilter/vf_scale.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index c8ceedfc6c..d764d211a2 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -333,9 +333,7 @@ static int config_props(AVFilterLink *outlink) AVDictionaryEntry *e = NULL; while ((e = av_dict_get(scale->opts, "", e, AV_DICT_IGNORE_SUFFIX))) { - const char *token = e->key; - const char *value = e->value; - if ((ret = av_opt_set(*s, token, value, 0)) < 0) + if ((ret = av_opt_set(*s, e->key, e->value, 0)) < 0) return ret; } } |