aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/elbg.c
diff options
context:
space:
mode:
authorMichael Niedermayer2012-08-18 21:53:32 +0200
committerMichael Niedermayer2012-08-18 21:53:32 +0200
commit9018f8c328f95a14210961027c8508dcda729c71 (patch)
treea0825a65b5dfce276f464ab438635329040b4196 /libavcodec/elbg.c
parent28ff17fa9761706ec5f07c07ce9ff04816536749 (diff)
elbg: fix assert
It seems the condition was flipped from what was intended Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/elbg.c')
-rw-r--r--libavcodec/elbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/elbg.c b/libavcodec/elbg.c
index 18d96db1e4..38028daa4a 100644
--- a/libavcodec/elbg.c
+++ b/libavcodec/elbg.c
@@ -111,7 +111,7 @@ static int get_high_utility_cell(elbg_data *elbg)
while (elbg->utility_inc[i] < r)
i++;
- assert(!elbg->cells[i]);
+ assert(elbg->cells[i]);
return i;
}