diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-06-28 12:44:14 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-03 11:41:23 +0200 |
commit | a88e8341cc70dda052e332fc189b9ffe692a8e4d (patch) | |
tree | de5e104cdb66b82b7c6353aaca7096b5ea9b2b64 /libavcodec | |
parent | 8f99a728786a94926c848573fc0bb6e3099b81b9 (diff) |
avcodec/j2kenc: Remove unused-but-set variable
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/j2kenc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c index 0b761d0b00..ce77a6d964 100644 --- a/libavcodec/j2kenc.c +++ b/libavcodec/j2kenc.c @@ -288,13 +288,11 @@ static void tag_tree_code(Jpeg2000EncoderContext *s, Jpeg2000TgtNode *node, int /** update the value in node */ static void tag_tree_update(Jpeg2000TgtNode *node) { - int lev = 0; while (node->parent){ if (node->parent->val <= node->val) break; node->parent->val = node->val; node = node->parent; - lev++; } } |