mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
Fixed warning log generation for IRAP frames in H265 Aggregation Packet.
When an IRAP frame was present in the Aggregation Packet, the control flow was incorrectly transferred to SPS parsing due to ABSL_FALLTHROUGH_INTENDED within the IRAP case statement, resulting in a parsing error and generating a warning log. A break statement has been introduced to prevent this fallthrough. Bug: webrtc:13485 Change-Id: I523fbf548f14b31eae7c41f607fe33572f094aac Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/346381 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com> Commit-Queue: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com> Cr-Commit-Position: refs/heads/main@{#42132}
This commit is contained in:
parent
2dd6cf61fd
commit
970b911f76
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ absl::optional<VideoRtpDepacketizer::ParsedRtpPayload> ProcessApOrSingleNalu(
|
|||
// https://datatracker.ietf.org/doc/html/rfc7798#section-3.1.1
|
||||
parsed_payload->video_header.frame_type =
|
||||
VideoFrameType::kVideoFrameKey;
|
||||
ABSL_FALLTHROUGH_INTENDED;
|
||||
break;
|
||||
case H265::NaluType::kSps: {
|
||||
// Copy any previous data first (likely just the first header).
|
||||
std::unique_ptr<rtc::Buffer> output_buffer(new rtc::Buffer());
|
||||
|
|
Loading…
Reference in a new issue