summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-04-18 05:34:16 +0200
committerwm4 <wm4@nowhere>2017-04-18 05:34:16 +0200
commit080b930742cf1d2f2b84df580d79fc2a82491f29 (patch)
treeb7981d7f9d8420a0e98c8c7d179cdae5ca10805f /demux
parentce4ab483b5499be8b353f2e8d4734c53d16b4f6c (diff)
downloadmpv-080b930742cf1d2f2b84df580d79fc2a82491f29.tar.bz2
mpv-080b930742cf1d2f2b84df580d79fc2a82491f29.tar.xz
codec_tags: remove some more leftovers
I think these became redundant some time ago, and would only matter if someone put QT tags into WAVEFORMATEX headers using mkv avi muxing.
Diffstat (limited to 'demux')
-rw-r--r--demux/codec_tags.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/demux/codec_tags.c b/demux/codec_tags.c
index 5f4f569435..5b0b3465e6 100644
--- a/demux/codec_tags.c
+++ b/demux/codec_tags.c
@@ -49,7 +49,6 @@ static const char *lookup_tag(int type, uint32_t tag)
}
static const char *const pcm_le[] = {"pcm_u8", "pcm_s16le", "pcm_s24le", "pcm_s32le"};
-static const char *const pcm_be[] = {"pcm_s8", "pcm_s16be", "pcm_s24be", "pcm_s32be"};
static const char *map_audio_pcm_tag(uint32_t tag, int bits)
{
@@ -61,10 +60,6 @@ static const char *map_audio_pcm_tag(uint32_t tag, int bits)
return bytes >= 1 && bytes <= 4 ? pcm_le[bytes - 1] : NULL;
case 0x3: // IEEE float
return bits == 64 ? "pcm_f64le" : "pcm_f32le";
- case 0x20776172:// 'raw '
- return bits == 8 ? "pcm_u8" : "pcm_s16be";
- case MKTAG('t', 'w', 'o', 's'): // demux_mkv.c internal
- return bytes >= 1 && bytes <= 4 ? pcm_be[bytes - 1] : NULL;
default:
return NULL;
}