]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aacdec_filter.c
aacdec: Don't eat full buffer on errors.
[paraslash.git] / aacdec_filter.c
index c9f81512bf5398c76e51865f8bb4acdd5fa4a5f5..d85f33746d76c0a10e64303b15658c53fc8b4eda 100644 (file)
@@ -279,11 +279,6 @@ next_buffer:
                ret = -E_AAC_DECODE;
                if (padd->error_count++ > MAX_ERRORS)
                        goto err;
-               /* Suppress non-fatal bitstream error message at BOF/EOF */
-               if (len < fn->min_iqs || padd->consumed_total == 0) {
-                       consumed = len;
-                       goto success;
-               }
                PARA_ERROR_LOG("%s\n", NeAACDecGetErrorMessage(err));
                PARA_ERROR_LOG("consumed: %zu + %zu + %lu\n",
                        padd->consumed_total, consumed,