Remove some debugging asserts.
authorSteinar H. Gunderson <sesse@debian.org>
Mon, 1 Jun 2009 18:05:42 +0000 (20:05 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Mon, 1 Jun 2009 18:05:42 +0000 (20:05 +0200)
driver.c

index fcd9f7f..e8a78e0 100644 (file)
--- a/driver.c
+++ b/driver.c
@@ -129,12 +129,10 @@ void decode_ac_coefficients(const struct huffman_table* tbl, struct bit_source*
                        possibly_refill(bits, s);
 
                        if (rs == 0x00) {
-                               assert(code == AC_DEHUF_SLOW_PATH || code == AC_END_OF_BLOCK);
                                /* end of block */
                                break;
                        }
                        if (rs == 0xf0) {
-                               assert(code == AC_DEHUF_SLOW_PATH || code == AC_SIXTEEN_ZEROS);
                                /* 16 zero coefficients */
                                continue;
                        }