Mercurial > mplayer.hg
diff libaf/af_resample.c @ 7719:41e8d0916c60
Fix for audio filters on big endian cpus. It's working now on Solaris SPARC &
x86
author | jkeil |
---|---|
date | Sat, 12 Oct 2002 20:02:01 +0000 |
parents | fbd5445cc853 |
children | 3aba91eb5c1f |
line wrap: on
line diff
--- a/libaf/af_resample.c Sat Oct 12 16:40:56 2002 +0000 +++ b/libaf/af_resample.c Sat Oct 12 20:02:01 2002 +0000 @@ -212,11 +212,11 @@ // Set parameters af->data->nch = n->nch; - af->data->format = AFMT_S16_LE; + af->data->format = AFMT_S16_NE; af->data->bps = 2; if(af->data->format != n->format || af->data->bps != n->bps) rv = AF_FALSE; - n->format = AFMT_S16_LE; + n->format = AFMT_S16_NE; n->bps = 2; // Calculate up and down sampling factors