Commit cd19799
Fix float PCM endianness handling in MP4 extraction
This change adds an explicit endianness check (`!isBigEndian`) when parsing the audio sample entry in `BoxParser.java` to prevent mapping big-endian 32-bit float audio to a little-endian encoding, avoiding static noise during playback.
Issue: #3063
PiperOrigin-RevId: 8751335921 parent ff498c4 commit cd19799
File tree
1 file changed
+1
-1
lines changed- libraries/extractor/src/main/java/androidx/media3/extractor/mp4
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2139 | 2139 | | |
2140 | 2140 | | |
2141 | 2141 | | |
2142 | | - | |
| 2142 | + | |
2143 | 2143 | | |
2144 | 2144 | | |
2145 | 2145 | | |
| |||
0 commit comments