aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-18 21:53:32 +0200
committerMartin Storsjö <martin@martin.st>2012-09-04 18:37:54 +0300
commit2c340596cab981ac842aff7da89d298025c99304 (patch)
tree902c556538dd3c84bb9760e9b46559e93a1ccf50 /libavcodec
parentb36f87ff90d87687f574d51385f47bb98d14600a (diff)
downloadffmpeg-2c340596cab981ac842aff7da89d298025c99304.tar.gz
elbg: Fix an assert
It seems the condition was flipped from what was intended. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/elbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/elbg.c b/libavcodec/elbg.c
index 31195f3a9d..0aa8e16165 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;
}