diff options
author | wm4 <wm4@nowhere> | 2015-05-04 23:54:53 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-04 23:54:53 +0200 |
commit | 548cd826c24b7f56b597785f0b83a47cbf4a0465 (patch) | |
tree | 58c2d2a986fbf3ce2ec1a01558d5232af69dfab5 /audio/chmap.c | |
parent | eead97f10303436b8da1c75dcdaa79efaba5b015 (diff) | |
download | mpv-548cd826c24b7f56b597785f0b83a47cbf4a0465.tar.bz2 mpv-548cd826c24b7f56b597785f0b83a47cbf4a0465.tar.xz |
audio: drop unused function
Diffstat (limited to 'audio/chmap.c')
-rw-r--r-- | audio/chmap.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/audio/chmap.c b/audio/chmap.c index 1991d1593d..10ae80bd1b 100644 --- a/audio/chmap.c +++ b/audio/chmap.c @@ -171,15 +171,6 @@ bool mp_chmap_equals_reordered(const struct mp_chmap *a, const struct mp_chmap * return mp_chmap_equals(&t1, &t2); } -bool mp_chmap_is_compatible(const struct mp_chmap *a, const struct mp_chmap *b) -{ - if (mp_chmap_equals(a, b)) - return true; - if (a->num == b->num && (mp_chmap_is_unknown(a) || mp_chmap_is_unknown(b))) - return true; - return false; -} - bool mp_chmap_is_stereo(const struct mp_chmap *src) { static const struct mp_chmap stereo = MP_CHMAP_INIT_STEREO; |