From 080b930742cf1d2f2b84df580d79fc2a82491f29 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 18 Apr 2017 05:34:16 +0200 Subject: 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. --- demux/codec_tags.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'demux') 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; } -- cgit v1.2.3