mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 22:00:47 +01:00

This makes the downcasts currently used in eg modules/rtp_rtcp/source/rtp_sender_video_frame_transformer_delegate.cc safer. Bug: webrtc:339815768 Change-Id: Ie6c7ab84666d399dbca4c95846b850aac5327f1a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/350361 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Tony Herre <herre@google.com> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42325}
26 lines
933 B
C++
26 lines
933 B
C++
/*
|
|
* Copyright 2024 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#include "api/frame_transformer_interface.h"
|
|
|
|
namespace webrtc {
|
|
|
|
TransformableFrameInterface::TransformableFrameInterface(
|
|
TransformableFrameInterface::Passkey) {}
|
|
|
|
TransformableVideoFrameInterface::TransformableVideoFrameInterface(
|
|
TransformableFrameInterface::Passkey passkey)
|
|
: TransformableFrameInterface(passkey) {}
|
|
|
|
TransformableAudioFrameInterface::TransformableAudioFrameInterface(
|
|
TransformableFrameInterface::Passkey passkey)
|
|
: TransformableFrameInterface(passkey) {}
|
|
|
|
} // namespace webrtc
|