mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 10:52:20 +00:00
avcodec/j2kenc: Remove unused-but-set variable
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
8f99a72878
commit
a88e8341cc
@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user