---
src/aiff.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/aiff.c b/src/aiff.c
index 240d2e1fdf63..1f7838423587 100644
--- a/src/aiff.c
+++ b/src/aiff.c
@@ -314,6 +314,8 @@ int lsx_aiffstartread(sox_format_t * ft)
lsx_readdw(ft, &chunksize);
if (lsx_eof(ft))
break;
+ /* account for padding after odd-sized chunks */
+ chunksize += chunksize & 1;
/* Skip the chunk using lsx_readb() so we may read
from a pipe */
while (chunksize-- > 0) {
--
2.17.0
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
SoX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-devel