Commit 24e00c6f authored by Paul Adenot's avatar Paul Adenot
Browse files

Bug 1843960 - Add a mp3 file that has an ID3v1 tag after a very long ID3v2 tag. r=alwu, a=dsmith

parent 91c67276
Loading
Loading
Loading
Loading
+9.99 KiB

File added.

No diff preview for this file type.

+4 −0
Changes for dom/media/test/manifest.js: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -527,6 +527,10 @@ var gPlayTests = [
  // and report that the stream is not MP3. However, it does not count ID3 tags
  // in that offset. This test case makes sure that ID3 exclusion holds.
  { name: "huge-id3.mp3", type: "audio/mpeg", duration: 1.0 },
  // Half a second file of a sine with a large ID3v2 tag, followed by an ID3v1
  // tag. The ID3v1 tags should be at the end of the file, but software usually
  // play it anyway.
  { name: "id3v1afterlongid3v2.mp3", type: "audio/mpeg", duration: 0.5 },
  // A truncated VBR MP3 with just enough frames to keep most decoders happy.
  // The Xing header reports the length of the file to be around 10 seconds, but
  // there is really only one second worth of data. We want MP3FrameParser to
+1 −0
Changes for dom/media/test/mochitest.ini: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -538,6 +538,7 @@ support-files =
  huge-id3.mp3^headers^
  id3tags.mp3
  id3tags.mp3^headers^
  id3v1afterlongid3v2.mp3
  invalid-cmap-s0c0.opus
  invalid-cmap-s0c0.opus^headers^
  invalid-cmap-s0c2.opus