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:
14
lib-src/libsndfile/fix-aiff-offset.patch
Normal file
14
lib-src/libsndfile/fix-aiff-offset.patch
Normal 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) ;
|
||||
} ;
|
||||
|
||||
Reference in New Issue
Block a user