summaryrefslogtreecommitdiffstats
path: root/audio/chmap.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-08 21:22:39 +0200
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-05-09 21:14:51 +0900
commit01c452cfba04a16872e918bd6781c2c8d00a3f18 (patch)
tree2e2dbe2f25c4ee0c0e6e5a9d792e9ba6a5aea83d /audio/chmap.h
parentba799895e14a662597a25a8ec349f889de465da5 (diff)
downloadmpv-01c452cfba04a16872e918bd6781c2c8d00a3f18.tar.bz2
mpv-01c452cfba04a16872e918bd6781c2c8d00a3f18.tar.xz
audio: simplify further
Drop mp_chmap_diff() (which is unused too now), and implement mp_chmap_diffn() in a slightly simpler way. (Too bad there is no standard function for counting set bits.) (cherry picked from commit 00130651dac758f90bf98306a9d1e569ed4155ca)
Diffstat (limited to 'audio/chmap.h')
-rw-r--r--audio/chmap.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/audio/chmap.h b/audio/chmap.h
index c3826065ce..adb7481665 100644
--- a/audio/chmap.h
+++ b/audio/chmap.h
@@ -123,8 +123,6 @@ void mp_chmap_reorder_to_lavc(struct mp_chmap *map);
void mp_chmap_get_reorder(int src[MP_NUM_CHANNELS], const struct mp_chmap *from,
const struct mp_chmap *to);
-void mp_chmap_diff(const struct mp_chmap *a, const struct mp_chmap *b,
- struct mp_chmap *diff);
int mp_chmap_diffn(const struct mp_chmap *a, const struct mp_chmap *b);
char *mp_chmap_to_str_buf(char *buf, size_t buf_size, const struct mp_chmap *src);