mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 07:39:42 +02:00
fix bug 238: aiff offset importing ignored (patches libsndfile)
This commit is contained in:
parent
2499082baa
commit
b87a808468
@ -114,6 +114,7 @@ Patches: macro-quoting.patch: quote arguments to AC_DEFUN such that
|
||||
autoreconf works with autorecnf 2.63. Has been accepted upstream
|
||||
portability.patch: add portability macros / pre-processor to
|
||||
enable build on non-standard platforms. Not yet accepted upstream.
|
||||
fix-aiff-offset.patch: fixes ignoring of offset in aiff files (accepted upstream oct. 23 '10)
|
||||
AM_MAINTAINER_MODE has been added to configure.ac to disable autotools rebuilds
|
||||
by default
|
||||
Upstream Version: 1.0.18
|
||||
|
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) ;
|
||||
} ;
|
||||
|
@ -519,7 +519,8 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt)
|
||||
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) ;
|
||||
} ;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user