Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions patches/remove-undefined-ffmpeg-identifier.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/media/filters/ffmpeg_glue.cc b/media/filters/ffmpeg_glue.cc
index 26bb9e8b92614..05143a0130b22 100644
--- a/media/filters/ffmpeg_glue.cc
+++ b/media/filters/ffmpeg_glue.cc
@@ -109,10 +109,6 @@ FFmpegGlue::FFmpegGlue(FFmpegURLProtocol* protocol) {
// Enable fast, but inaccurate seeks for MP3.
format_context_->flags |= AVFMT_FLAG_FAST_SEEK;

- // We don't allow H.264 parsing during demuxing since we have our own parser
- // and the ffmpeg one increases memory usage unnecessarily.
- format_context_->flags |= AVFMT_FLAG_NOH264PARSE;
-
// Ensures format parsing errors will bail out. From an audit on 11/2017, all
// instances were real failures. Solves bugs like http://crbug.com/710791.
format_context_->error_recognition |= AV_EF_EXPLODE;
13 changes: 13 additions & 0 deletions patches/use-clang19-cflag.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 88109264ea962..ac9f6663f2cf5 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1991,7 +1991,7 @@ config("default_warnings") {
cflags_cc += [ "-Wno-dangling-assignment-gsl" ]

# TODO(crbug.com/376641662): Fix and re-enable.
- cflags += [ "-Wno-nontrivial-memcall" ]
+ cflags += [ "-Wno-nontrivial-memaccess" ]
}
}