From b1cc62c7b5ae0fa2226ec2699b7761b40828a43a Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 8 Aug 2023 17:35:14 +0200 Subject: Remove unnecessary alignment check --- src/odr-audioenc.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/odr-audioenc.cpp b/src/odr-audioenc.cpp index 21abb91..970c444 100644 --- a/src/odr-audioenc.cpp +++ b/src/odr-audioenc.cpp @@ -791,10 +791,6 @@ int AudioEnc::run() case encoder_selection_t::fdk_dabplus: outbuf_size = bitrate/8*120; outbuf.resize(24*120); - - if(outbuf_size % 5 != 0) { - fprintf(stderr, "Warning: (outbuf_size mod 5) = %d\n", outbuf_size % 5); - } break; case encoder_selection_t::toolame_dab: outbuf_size = 4092; @@ -1172,8 +1168,7 @@ int AudioEnc::run() // Our timing code depends on this if (calls != enc_calls_per_output) { - fprintf(stderr, "INTERNAL ERROR! calls=%d" - ", expected %d\n", + fprintf(stderr, "INTERNAL ERROR! calls=%d, expected %d\n", calls, enc_calls_per_output); } calls = 0; -- cgit v1.2.3