summaryrefslogtreecommitdiffstats
path: root/audio/format.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-12-10 17:06:21 +0100
committerwm4 <wm4@nowhere>2012-12-11 00:37:54 +0100
commit74ab902dea669bb3d6d3769d8a96640ca538a535 (patch)
tree75442f79f59ce9f4c4948a90ba70c3a21f4ba776 /audio/format.c
parent071d24e19de6c2c0278e80f21e10572a4d694ddf (diff)
downloadmpv-74ab902dea669bb3d6d3769d8a96640ca538a535.tar.bz2
mpv-74ab902dea669bb3d6d3769d8a96640ca538a535.tar.xz
audio: remove support for native alaw/mulaw/adpcm output
This is considered a worthless feature. Note that alaw/mulaw/adpcm input is unaffected: such data is handed to libavcodec and "decoded" to linear PCM.
Diffstat (limited to 'audio/format.c')
-rw-r--r--audio/format.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/audio/format.c b/audio/format.c
index 4ca7307ccf..9625857ada 100644
--- a/audio/format.c
+++ b/audio/format.c
@@ -63,8 +63,6 @@ char* af_fmt2str(int format, char* str, int size)
}
const struct af_fmt_entry af_fmtstr_table[] = {
- { "mulaw", AF_FORMAT_MU_LAW },
- { "alaw", AF_FORMAT_A_LAW },
{ "mpeg2", AF_FORMAT_MPEG2 },
{ "ac3le", AF_FORMAT_AC3_LE },
{ "ac3be", AF_FORMAT_AC3_BE },
@@ -72,7 +70,6 @@ const struct af_fmt_entry af_fmtstr_table[] = {
{ "iec61937le", AF_FORMAT_IEC61937_LE },
{ "iec61937be", AF_FORMAT_IEC61937_BE },
{ "iec61937ne", AF_FORMAT_IEC61937_NE },
- { "imaadpcm", AF_FORMAT_IMA_ADPCM },
{ "u8", AF_FORMAT_U8 },
{ "s8", AF_FORMAT_S8 },