mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-04 15:50:10 +01:00
Fix Bug 504 (P2) - PPC Macs crash importing MP3 files with "guess_file_type" error
in id3.c: psf->fileoffset is a sf_count_t, which is int64_t, which is larger than size_t on a G4 PPC. Since psf_binheader_readf expects that argument to be the smaller size_t, it ends up seeking over and over to the zero position since the larger bits of the variable are all zeros. Patch simply casts to size_t. Patch sent upstream as well.
This commit is contained in:
@@ -96,6 +96,8 @@ Patches: endian.m4, lrint.m4, llrint.m4, lrintf.m4, clip_mode.m4 copied from
|
||||
libsndfile's M4/.
|
||||
signal.m4 created out of the tail of acinclude.m4 with the remaining
|
||||
necessary macro
|
||||
libsndfile-ppc-crash-on-some-id3-mp3s.patch - submitted to libsndfile
|
||||
list on may 22 2012 (mchinen)
|
||||
AM_MAINTAINER_MODE has been added to configure.ac to disable autotools rebuilds
|
||||
by default
|
||||
Upstream Version: 0.1.7
|
||||
|
||||
Reference in New Issue
Block a user