]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aacdec_filter.c
aacdec: Improve and silence error message.
[paraslash.git] / aacdec_filter.c
index 017e439b38b3b346925399e41b9b6100c77e2685..a5355d10cf12604440523387bc5168c8c0a76276 100644 (file)
@@ -140,8 +140,10 @@ next_buffer:
                ret = -E_AAC_DECODE;
                if (padd->error_count++ > MAX_ERRORS)
                        goto err;
-               PARA_ERROR_LOG("%s\n", NeAACDecGetErrorMessage(err));
-               PARA_ERROR_LOG("consumed: %zu + %zu + %lu\n",
+               PARA_NOTICE_LOG("error #%u: (%s)\n", padd->error_count,
+                       NeAACDecGetErrorMessage(err));
+               PARA_NOTICE_LOG("consumed (total, buffer, frame): "
+                       "%zu, %zu, %lu\n",
                        padd->consumed_total, consumed,
                        padd->frame_info.bytesconsumed);
                if (consumed < len)