aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-08-08 17:35:14 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-08-08 17:35:14 +0200
commitb1cc62c7b5ae0fa2226ec2699b7761b40828a43a (patch)
tree89b156be11a452a95220919ba364d1861050bef3 /src
parentfd4630d62ceb253df845142b12ab8a3856bf4db7 (diff)
downloadODR-AudioEnc-b1cc62c7b5ae0fa2226ec2699b7761b40828a43a.tar.gz
ODR-AudioEnc-b1cc62c7b5ae0fa2226ec2699b7761b40828a43a.tar.bz2
ODR-AudioEnc-b1cc62c7b5ae0fa2226ec2699b7761b40828a43a.zip
Remove unnecessary alignment check
Diffstat (limited to 'src')
-rw-r--r--src/odr-audioenc.cpp7
1 files changed, 1 insertions, 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;