diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-05-14 21:16:00 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-05-14 21:16:00 +0000 |
commit | 1499a0df6fe762727dd9156fe577fb20f46f1083 (patch) | |
tree | 75ea7f0b306898003d90cc5338e40899d634e455 /libmpcodecs | |
parent | 7c496e41eeeac345c90cb8a9bd520c27f6a735e7 (diff) |
removed #ifdefs that are already handled by libao2/afmt.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12477 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/dec_audio.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libmpcodecs/dec_audio.c b/libmpcodecs/dec_audio.c index 7b65e693c4..4bf93df094 100644 --- a/libmpcodecs/dec_audio.c +++ b/libmpcodecs/dec_audio.c @@ -59,11 +59,7 @@ int init_audio_codec(sh_audio_t *sh_audio) // Set up some common usefull defaults. ad->preinit() can override these: sh_audio->samplesize=2; -#ifdef WORDS_BIGENDIAN - sh_audio->sample_format=AFMT_S16_BE; -#else - sh_audio->sample_format=AFMT_S16_LE; -#endif + sh_audio->sample_format=AFMT_S16_NE; sh_audio->samplerate=0; sh_audio->channels=0; sh_audio->i_bps=0; // input rate (bytes/sec) |