Skip to content
  • Luis de Bethencourt's avatar
    rtph265depay: Insert SPS/PPS NALs into the stream · d10b6f1e
    Luis de Bethencourt authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
    rtph264depay does the same and this fixes decoding of some streams with 32
    SPS (or 256 PPS). It is allowed to have SPS ID 0 to 31 (or PPS ID 0 to 255),
    but the field in the codec_data for the number of SPS or PPS is only 5
    (or 8) bit. As such, 32 SPS (or 256 PPS) are interpreted as 0 everywhere.
    
    This looks like a mistake in the part of the spect about the codec_data.
    d10b6f1e