mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Ignore coverage for codec sps-pps parsing.
This commit is contained in:
parent
aa4a27b9fa
commit
a119305b31
1 changed files with 1 additions and 0 deletions
|
@ -694,6 +694,7 @@ srs_error_t SrsFormat::video_avc_demux(SrsBuffer* stream, int64_t timestamp)
|
||||||
nb_raw = stream->size() - stream->pos();
|
nb_raw = stream->size() - stream->pos();
|
||||||
|
|
||||||
if (avc_packet_type == SrsVideoAvcFrameTraitSequenceHeader) {
|
if (avc_packet_type == SrsVideoAvcFrameTraitSequenceHeader) {
|
||||||
|
// TODO: FIXME: Maybe we should ignore any error for parsing sps/pps.
|
||||||
if ((err = avc_demux_sps_pps(stream)) != srs_success) {
|
if ((err = avc_demux_sps_pps(stream)) != srs_success) {
|
||||||
return srs_error_wrap(err, "demux SPS/PPS");
|
return srs_error_wrap(err, "demux SPS/PPS");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue