Skip to content

Commit

Permalink
ios_fix_optional.patch を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
tnoho committed Oct 6, 2024
1 parent 4d9707f commit 1b2ecf7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/ios_fix_optional.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/sdk/objc/components/video_codec/nalu_rewriter.cc b/sdk/objc/components/video_codec/nalu_rewriter.cc
index 301dd7f8c9..56442be6a7 100644
--- a/sdk/objc/components/video_codec/nalu_rewriter.cc
+++ b/sdk/objc/components/video_codec/nalu_rewriter.cc
@@ -481,7 +481,7 @@ public:
bool bitstream_restriction_flag { false };
uint64_t max_num_reorder_frames { 0 };
};
- static absl::optional<State> Parse(const std::vector<uint8_t>& unpacked_buffer)
+ static std::optional<State> Parse(const std::vector<uint8_t>& unpacked_buffer)
{
BitstreamReader reader(unpacked_buffer);
auto spsState = ParseSpsUpToVui(reader);
2 changes: 2 additions & 0 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ def get_depot_tools(source_dir, fetch=False):
"arm_neon_sve_bridge.patch",
"dav1d_config_change.patch",
"fix_perfetto.patch",
"ios_fix_optional.patch",
],
"ios": [
"add_deps.patch",
Expand All @@ -240,6 +241,7 @@ def get_depot_tools(source_dir, fetch=False):
"arm_neon_sve_bridge.patch",
"dav1d_config_change.patch",
"fix_perfetto.patch",
"ios_fix_optional.patch",
],
"android": [
"add_deps.patch",
Expand Down

0 comments on commit 1b2ecf7

Please sign in to comment.