1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00
audacity/lib-src/libsndfile/fix-aiff-offset.patch

15 lines
575 B
Diff

Index: libsndfile/src/aiff.c
===================================================================
--- libsndfile/src/aiff.c (revision 10749)
+++ libsndfile/src/aiff.c (working copy)
@@ -519,7 +519,8 @@
psf->datalength -= ssnd_fmt.offset ;
}
else
- { psf_log_printf (psf, " Offset : %u (Should be zero)\n", ssnd_fmt.offset) ;
+ { psf->dataoffset += ssnd_fmt.offset ;
+ psf_log_printf (psf, " Offset : %u (Should be zero)\n", ssnd_fmt.offset) ;
psf_log_printf (psf, " Block Size : %u ???\n", ssnd_fmt.blocksize) ;
} ;