summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-03 23:23:35 +0200
committerwm4 <wm4@nowhere>2017-06-03 23:23:35 +0200
commitfdd75f90ae841a1b380d8d8916a2ece5cbf626fd (patch)
treeb9a5249d97c99d0adb9a865ffb7158c1d25c8bf2 /demux
parenteae693fc46cc6d108b434cbd33d97243ec97282e (diff)
downloadmpv-fdd75f90ae841a1b380d8d8916a2ece5cbf626fd.tar.bz2
mpv-fdd75f90ae841a1b380d8d8916a2ece5cbf626fd.tar.xz
demux_mkv: remove incorrect comment
In the previous commit, I claimed that this GUID stuff was a libavformat extension, but that seems to be completely wrong. (LATM might be an extension of some kind, though.) I don't know what Microsoft calls this GUID "suffix" though. It's generally used to wrap wav format tags and video FourCCs as GUIDs. I guess you could grep Microsoft headers for it to find its name, or something.
Diffstat (limited to 'demux')
-rw-r--r--demux/codec_tags.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/demux/codec_tags.c b/demux/codec_tags.c
index c74f66f30c..4178d29774 100644
--- a/demux/codec_tags.c
+++ b/demux/codec_tags.c
@@ -75,7 +75,6 @@ static void map_audio_pcm_tag(struct mp_codec_params *c)
// WAVEFORMATEXTENSIBLE.SubFormat
unsigned char *subformat = c->extradata + 6;
if (memcmp(subformat + 4, guid_ffext + 4, 12) == 0) {
- // libavformat extension.
c->codec_tag = AV_RL32(subformat);
c->codec = lookup_tag(c->type, c->codec_tag);
}