1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-19 23:53:59 +01:00

fix bug 238: aiff offset importing ignored (patches libsndfile)

This commit is contained in:
mchinen
2010-10-27 23:35:55 +00:00
parent 2499082baa
commit b87a808468
3 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
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) ;
} ;