Mercurial > mplayer.hg
view darwinfixlib.sh @ 9130:8a0a93d6b4c3
In mp3lib/sr1.c, look at the line 226:
if(fr->sampling_frequency>8) return FALSE; // valid: 0..8
which allows fr->sampling_frequency to go up to 8.
Obviously, the code does not bother about what would happen if
fr->sampling_frequency lies in the range [3,8].
patch from Nilmoni Deb, Nick?, Rich
author | arpi |
---|---|
date | Tue, 28 Jan 2003 00:25:38 +0000 |
parents | 184f37880f90 |
children |
line wrap: on
line source
#!/bin/sh if [ `uname -s` = 'Darwin' ]; then echo "Fixing libs with ranlib for Darwin (MacOSX)" for i in $* ; do if (echo $i | grep \\.a) >/dev/null 2>&1; then echo "ranlib $i" (ranlib $i) >/dev/null 2>&1 fi done fi exit 0