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
7eccc9da26
commit
aa4a27b9fa
1 changed files with 5 additions and 0 deletions
|
@ -708,6 +708,9 @@ srs_error_t SrsFormat::video_avc_demux(SrsBuffer* stream, int64_t timestamp)
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// For media server, we don't care the codec, so we just try to parse sps-pps, and we could ignore any error if fail.
|
||||||
|
// LCOV_EXCL_START
|
||||||
|
|
||||||
srs_error_t SrsFormat::avc_demux_sps_pps(SrsBuffer* stream)
|
srs_error_t SrsFormat::avc_demux_sps_pps(SrsBuffer* stream)
|
||||||
{
|
{
|
||||||
// AVCDecoderConfigurationRecord
|
// AVCDecoderConfigurationRecord
|
||||||
|
@ -1016,6 +1019,8 @@ srs_error_t SrsFormat::avc_demux_sps_rbsp(char* rbsp, int nb_rbsp)
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// LCOV_EXCL_STOP
|
||||||
|
|
||||||
srs_error_t SrsFormat::video_nalu_demux(SrsBuffer* stream)
|
srs_error_t SrsFormat::video_nalu_demux(SrsBuffer* stream)
|
||||||
{
|
{
|
||||||
srs_error_t err = srs_success;
|
srs_error_t err = srs_success;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue