Mercurial > mplayer.hg
diff libao2/pl_surround.c @ 14245:815f03b7cee5
removing AFMT_ dependancy
author | alex |
---|---|
date | Mon, 27 Dec 2004 17:30:15 +0000 |
parents | 12b1790038b0 |
children |
line wrap: on
line diff
--- a/libao2/pl_surround.c Mon Dec 27 11:09:49 2004 +0000 +++ b/libao2/pl_surround.c Mon Dec 27 17:30:15 2004 +0000 @@ -44,7 +44,7 @@ #include "audio_out.h" #include "audio_plugin.h" #include "audio_plugin_internal.h" -#include "afmt.h" +#include "libaf/af_format.h" #include "remez.h" #include "firfilter.c" @@ -108,8 +108,8 @@ pl_surround.passthrough = 1; return 1; } - if (ao_plugin_data.format != AFMT_S16_NE) { - fprintf(stderr, "pl_surround: I'm dumb and can only handle AFMT_S16_NE audio format, using passthrough mode\n"); + if (ao_plugin_data.format != AF_FORMAT_S16_NE) { + fprintf(stderr, "pl_surround: I'm dumb and can only handle AF_FORMAT_S16_NE audio format, using passthrough mode\n"); pl_surround.passthrough = 1; return 1; }