diff --git a/common_video/h264/h264_common.h b/common_video/h264/h264_common.h index e7df02ae0d..0068b78c56 100644 --- a/common_video/h264/h264_common.h +++ b/common_video/h264/h264_common.h @@ -66,12 +66,6 @@ struct NaluIndex { RTC_EXPORT std::vector FindNaluIndices( rtc::ArrayView buffer); -// TODO: bugs.webrtc.org/42225170 - Deprecate. -inline std::vector FindNaluIndices(const uint8_t* buffer, - size_t buffer_size) { - return FindNaluIndices(rtc::MakeArrayView(buffer, buffer_size)); -} - // Get the NAL type from the header byte immediately following start sequence. RTC_EXPORT NaluType ParseNaluType(uint8_t data); diff --git a/common_video/h264/sps_parser.h b/common_video/h264/sps_parser.h index 7347e6d186..49cca712dd 100644 --- a/common_video/h264/sps_parser.h +++ b/common_video/h264/sps_parser.h @@ -44,11 +44,6 @@ class RTC_EXPORT SpsParser { // Unpack RBSP and parse SPS state from the supplied buffer. static std::optional ParseSps(rtc::ArrayView data); - // TODO: bugs.webrtc.org/42225170 - Deprecate. - static inline std::optional ParseSps(const uint8_t* data, - size_t length) { - return ParseSps(rtc::MakeArrayView(data, length)); - } protected: // Parse the SPS state, up till the VUI part, for a buffer where RBSP