summaryrefslogtreecommitdiffstats
path: root/audio/format.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-10 23:38:42 +0200
committerwm4 <wm4@nowhere>2015-09-10 23:38:42 +0200
commite721660e6dd9b8785896dfd81519baa22ea6b2fb (patch)
tree3661739007350213cfd9f15d24a93fd725e8485e /audio/format.h
parent60a617df311fc6e56feced64143d912eb7b7099b (diff)
downloadmpv-e721660e6dd9b8785896dfd81519baa22ea6b2fb.tar.bz2
mpv-e721660e6dd9b8785896dfd81519baa22ea6b2fb.tar.xz
ao_lavc: use new sample format determination code
This is just a refactor, which makes it use the previously introduced function, and allows us to make af_format_conversion_score() private. (We drop 2 unlikely warning messages too... who cares.)
Diffstat (limited to 'audio/format.h')
-rw-r--r--audio/format.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/audio/format.h b/audio/format.h
index 831fe0a825..de1ff1a30d 100644
--- a/audio/format.h
+++ b/audio/format.h
@@ -75,7 +75,6 @@ int af_fmt_seconds_to_bytes(int format, float seconds, int channels, int sampler
void af_fill_silence(void *dst, size_t bytes, int format);
-int af_format_conversion_score(int dst_format, int src_format);
void af_get_best_sample_formats(int src_format, int out_formats[AF_FORMAT_COUNT]);
int af_format_sample_alignment(int format);