libFLAC: Remove commented out assert
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 24 Dec 2016 11:05:07 +0000 (22:05 +1100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 24 Dec 2016 11:05:22 +0000 (22:05 +1100)
Pointed out by c.helmrich@ecodis.de. It was added during debugging
in commit c06a44969, but was never meant to stay.

src/libFLAC/stream_encoder.c

index 7fe81b4..037b8cb 100644 (file)
@@ -2150,8 +2150,6 @@ FLAC_API FLAC__bool FLAC__stream_encoder_process(FLAC__StreamEncoder *encoder, c
        FLAC__ASSERT(0 != encoder->protected_);
        FLAC__ASSERT(encoder->protected_->state == FLAC__STREAM_ENCODER_OK);
 
-//     FLAC__ASSERT(samples <= blocksize);
-
        do {
                const unsigned n = flac_min(blocksize+OVERREAD_-encoder->private_->current_sample_number, samples-j);