summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/codecs.conf8
-rw-r--r--libmpdemux/demux_lavf.c1
2 files changed, 9 insertions, 0 deletions
diff --git a/etc/codecs.conf b/etc/codecs.conf
index a8196e72e0..69947ee19e 100644
--- a/etc/codecs.conf
+++ b/etc/codecs.conf
@@ -2996,6 +2996,14 @@ audiocodec ffmusepack7
driver ffmpeg
dll "mpc sv7"
+audiocodec ffmusepack8
+ info "Musepack sv8 audio codec"
+ comment "only works with libavformat demuxer"
+ status working
+ fourcc "MPC8"
+ driver ffmpeg
+ dll "mpc sv8"
+
audiocodec musepack
info "Musepack audio codec"
status working
diff --git a/libmpdemux/demux_lavf.c b/libmpdemux/demux_lavf.c
index c9a49a03c2..2e83185490 100644
--- a/libmpdemux/demux_lavf.c
+++ b/libmpdemux/demux_lavf.c
@@ -88,6 +88,7 @@ static const AVCodecTag mp_wav_tags[] = {
{ CODEC_ID_DSICINAUDIO, MKTAG('D', 'C', 'I', 'A')},
{ CODEC_ID_INTERPLAY_DPCM, MKTAG('I', 'N', 'P', 'A')},
{ CODEC_ID_MUSEPACK7, MKTAG('M', 'P', 'C', ' ')},
+ { CODEC_ID_MUSEPACK8, MKTAG('M', 'P', 'C', '8')},
{ CODEC_ID_NELLYMOSER, MKTAG('N', 'E', 'L', 'L')},
{ CODEC_ID_PCM_S24BE, MKTAG('i', 'n', '2', '4')},
{ CODEC_ID_PCM_S16BE, MKTAG('t', 'w', 'o', 's')},