mirror of https://git.ffmpeg.org/ffmpeg.git
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 */
|
/** update the value in node */
|
||||||
static void tag_tree_update(Jpeg2000TgtNode *node)
|
static void tag_tree_update(Jpeg2000TgtNode *node)
|
||||||
{
|
{
|
||||||
int lev = 0;
|
|
||||||
while (node->parent){
|
while (node->parent){
|
||||||
if (node->parent->val <= node->val)
|
if (node->parent->val <= node->val)
|
||||||
break;
|
break;
|
||||||
node->parent->val = node->val;
|
node->parent->val = node->val;
|
||||||
node = node->parent;
|
node = node->parent;
|
||||||
lev++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue