mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Use parseH265SpsNalUnit instead of parseH265SpsNalUnitPayload
To consistent with the other callsites of NalUnitUtil for parsing H265 SPS
This commit is contained in:
parent
6ae8c8c041
commit
d7acae20c0
@ -247,7 +247,7 @@ public final class H265Reader implements ElementaryStreamReader {
|
||||
System.arraycopy(pps.nalData, 0, csdData, vps.nalLength + sps.nalLength, pps.nalLength);
|
||||
|
||||
NalUnitUtil.H265SpsData spsData =
|
||||
NalUnitUtil.parseH265SpsNalUnitPayload(sps.nalData, 40/8, sps.nalLength);
|
||||
NalUnitUtil.parseH265SpsNalUnit(sps.nalData, 3, sps.nalLength); // 3bytes start code
|
||||
|
||||
String codecs =
|
||||
CodecSpecificDataUtil.buildHevcCodecString(
|
||||
|
Loading…
x
Reference in New Issue
Block a user