Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit bb23064

Browse files
committed
Fix iOS build warnings
1 parent d10f6a3 commit bb23064

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

talk/owt/sdk/base/mediautils.cc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@
1717
namespace owt {
1818
namespace base {
1919

20-
const char kAV1FmtpProfileId[] = "profile";
21-
const char kAV1FmtpLevelId[] = "level-idx";
22-
23-
const char kHEVCFmtpProfileId[] = "profile-id";
24-
const char kHEVCFmtpLevelId[] = "level-id";
25-
2620
static const std::map<const std::string, const Resolution> resolution_name_map = {
2721
{"cif", Resolution(352, 288)},
2822
{"vga", Resolution(640, 480)},
@@ -190,6 +184,7 @@ absl::optional<H265ProfileId> StringToH265Profile(const std::string& str) {
190184

191185
absl::optional<AV1Profile> MediaUtils::ParseSdpForAV1Profile(
192186
const webrtc::SdpVideoFormat::Parameters& params) {
187+
const char kAV1FmtpProfileId[] = "profile";
193188
const auto profile_it = params.find(kAV1FmtpProfileId);
194189
if (profile_it == params.end())
195190
return AV1Profile::kMain;
@@ -199,6 +194,7 @@ absl::optional<AV1Profile> MediaUtils::ParseSdpForAV1Profile(
199194

200195
absl::optional<H265ProfileId> MediaUtils::ParseSdpForH265Profile(
201196
const webrtc::SdpVideoFormat::Parameters& params) {
197+
const char kHEVCFmtpProfileId[] = "profile-id";
202198
const auto profile_it = params.find(kHEVCFmtpProfileId);
203199
if (profile_it == params.end())
204200
return H265ProfileId::kMain;

0 commit comments

Comments
 (0)