From a119305b31db835ddcb40860c89f6f09d1770944 Mon Sep 17 00:00:00 2001 From: winlin Date: Tue, 24 Dec 2019 15:36:22 +0800 Subject: [PATCH] Ignore coverage for codec sps-pps parsing. --- trunk/src/kernel/srs_kernel_codec.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/src/kernel/srs_kernel_codec.cpp b/trunk/src/kernel/srs_kernel_codec.cpp index 63b787d54..0bca66537 100644 --- a/trunk/src/kernel/srs_kernel_codec.cpp +++ b/trunk/src/kernel/srs_kernel_codec.cpp @@ -694,6 +694,7 @@ srs_error_t SrsFormat::video_avc_demux(SrsBuffer* stream, int64_t timestamp) nb_raw = stream->size() - stream->pos(); 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) { return srs_error_wrap(err, "demux SPS/PPS"); }