Commit d7acae20 by peng bin Committed by Ian Baker

Use parseH265SpsNalUnit instead of parseH265SpsNalUnitPayload

To consistent with the other callsites of NalUnitUtil for parsing H265 SPS
parent 6ae8c8c0
...@@ -247,7 +247,7 @@ public final class H265Reader implements ElementaryStreamReader { ...@@ -247,7 +247,7 @@ public final class H265Reader implements ElementaryStreamReader {
System.arraycopy(pps.nalData, 0, csdData, vps.nalLength + sps.nalLength, pps.nalLength); System.arraycopy(pps.nalData, 0, csdData, vps.nalLength + sps.nalLength, pps.nalLength);
NalUnitUtil.H265SpsData spsData = NalUnitUtil.H265SpsData spsData =
NalUnitUtil.parseH265SpsNalUnitPayload(sps.nalData, 40/8, sps.nalLength); NalUnitUtil.parseH265SpsNalUnit(sps.nalData, 3, sps.nalLength); // 3bytes start code
String codecs = String codecs =
CodecSpecificDataUtil.buildHevcCodecString( CodecSpecificDataUtil.buildHevcCodecString(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment