diff options
author | wm4 <wm4@nowhere> | 2015-06-16 20:57:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-16 21:11:59 +0200 |
commit | 831d7c3c400b554484561bf912c1f9657f8192cd (patch) | |
tree | 7c3abe2dadd826f58ac316f9c35b56d9e869d760 /audio/filter/af.c | |
parent | 488ebdb0d57b4e822e8dac4fac18dfe460b61ac6 (diff) | |
download | mpv-831d7c3c400b554484561bf912c1f9657f8192cd.tar.bz2 mpv-831d7c3c400b554484561bf912c1f9657f8192cd.tar.xz |
audio: remove S8, U16, U24, U32 formats
They are useless. Not only are they actually rarely in use; but
libavcodec doesn't even output them, as libavcodec has no such sample
formats for decoded audio.
Even if it should happen that we actually still need them (e.g. if doing
direct hardware output), there are better solutions. Swapping the sign
is a fast and lossless operation and can be done inplace, so AO actually
needing it could do this directly.
If you wonder why we keep U8 instead of S8: because libavcodec does it.
Diffstat (limited to 'audio/filter/af.c')
-rw-r--r-- | audio/filter/af.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/audio/filter/af.c b/audio/filter/af.c index 67083c493b..c0535f957c 100644 --- a/audio/filter/af.c +++ b/audio/filter/af.c @@ -56,7 +56,6 @@ extern const struct af_info af_info_scaletempo; extern const struct af_info af_info_bs2b; extern const struct af_info af_info_lavfi; extern const struct af_info af_info_convert24; -extern const struct af_info af_info_convertsignendian; extern const struct af_info af_info_rubberband; static const struct af_info *const filter_list[] = { @@ -94,7 +93,6 @@ static const struct af_info *const filter_list[] = { #endif // Must come last, because they're fallback format conversion filter &af_info_convert24, - &af_info_convertsignendian, NULL }; |