Commit 89c725e
Kevin Calhoun
Per ISO 14496-1 § 7.2.6.7.2, the semantics of decoder specific information
depend on the value of DecoderConfigDescriptor.objectTypeIndication. But for
audio, mp4parse treats all decoder specific information as if it has the bit
syntax defined for object type indication 0x40. This is not the case for
object type indications 0x69 and 0x6B, which now have more recently defined
decoder specific information with a distinct bit syntax, which Mozilla code
can disregard. This allows tracks carrying MP3 audio to be parsed correctly
when the new decoder specific info is present.1 parent 778d47d commit 89c725e
1 file changed
+14
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
382 | 383 | | |
383 | 384 | | |
384 | 385 | | |
| |||
2452 | 2453 | | |
2453 | 2454 | | |
2454 | 2455 | | |
2455 | | - | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
2456 | 2466 | | |
2457 | 2467 | | |
2458 | 2468 | | |
| |||
2647 | 2657 | | |
2648 | 2658 | | |
2649 | 2659 | | |
2650 | | - | |
| 2660 | + | |
2651 | 2661 | | |
2652 | 2662 | | |
2653 | 2663 | | |
| |||
2656 | 2666 | | |
2657 | 2667 | | |
2658 | 2668 | | |
2659 | | - | |
| 2669 | + | |
2660 | 2670 | | |
2661 | | - | |
| 2671 | + | |
2662 | 2672 | | |
2663 | 2673 | | |
2664 | 2674 | | |
| |||
0 commit comments