summaryrefslogtreecommitdiffstats
path: root/audio/format.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-07-07 17:50:36 +0200
committerwm4 <wm4@nowhere>2017-07-07 17:56:22 +0200
commit03596ac551c67cf66c962b1533feec49de18626d (patch)
treecfb850e97e0d90d00a71be24a39bba57c65df08f /audio/format.h
parent300097536d1de5beea286e8c8b492370333462b0 (diff)
downloadmpv-03596ac551c67cf66c962b1533feec49de18626d.tar.bz2
mpv-03596ac551c67cf66c962b1533feec49de18626d.tar.xz
audio: drop AF_FORMAT_S24
This is the last sample format that was only in mpv and not in FFmpeg (except the spdif special formats). It was a huge pain, even if the removed code in af_lavrresample is pretty small after all. Note that this drops S24 from the ao_coreaudio AOs too. I'm not sure about the impact, but I expect it doesn't matter. af_fmt_change_bytes() was unused as well, so remove that too.
Diffstat (limited to 'audio/format.h')
-rw-r--r--audio/format.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/audio/format.h b/audio/format.h
index ace19da5e5..6d6485ff68 100644
--- a/audio/format.h
+++ b/audio/format.h
@@ -26,7 +26,6 @@ enum af_format {
AF_FORMAT_U8,
AF_FORMAT_S16,
- AF_FORMAT_S24,
AF_FORMAT_S32,
AF_FORMAT_FLOAT,
AF_FORMAT_DOUBLE,
@@ -53,7 +52,6 @@ enum af_format {
const char *af_fmt_to_str(int format);
int af_fmt_to_bytes(int format);
-int af_fmt_change_bytes(int format, int bytes);
bool af_fmt_is_valid(int format);
bool af_fmt_is_unsigned(int format);