[Swfdec-commits] swfdec/swfdec_bits.c
Benjamin Otte
company at kemper.freedesktop.org
Mon Jun 16 07:08:42 PDT 2008
swfdec/swfdec_bits.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ebeefcc93a8b1c6de31947583d998ded338925cd
Author: Benjamin Otte <otte at gnome.org>
Date: Mon Jun 16 15:53:09 2008 +0200
use the right comparison here
diff --git a/swfdec/swfdec_bits.c b/swfdec/swfdec_bits.c
index 6ab8ca0..0a604fc 100644
--- a/swfdec/swfdec_bits.c
+++ b/swfdec/swfdec_bits.c
@@ -736,7 +736,7 @@ out:
if (decompressed < 0) {
buffer->length = z.total_out;
} else {
- if (buffer->length < z.total_out) {
+ if (buffer->length > z.total_out) {
SWFDEC_WARNING ("Not enough data decompressed: %lu instead of %"G_GSIZE_FORMAT" expected",
(gulong) z.total_out, buffer->length);
memset (buffer->data + z.total_out, 0, buffer->length - z.total_out);
More information about the Swfdec-commits
mailing list