-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from brave/x86_ffmpeg_linux_fix
fix for x86 linux ffmpeg issue
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/third_party/ffmpeg/BUILD.gn b/third_party/ffmpeg/BUILD.gn | ||
index 01535c488ba6e6a86b9e4d4cd0fd654f18d9701b..518c3e5e455795f07ac1e818b9bb29cafc4b93c3 100755 | ||
--- a/third_party/ffmpeg/BUILD.gn | ||
+++ b/third_party/ffmpeg/BUILD.gn | ||
@@ -247,11 +247,9 @@ target(link_target_type, "ffmpeg_internal") { | ||
# On POSIX x86, sanitizers will fail to compiler the H264 CABAC code due to | ||
# insufficient registers unless we disable EBP usage. crbug.com/786760 | ||
if (target_cpu == "x86") { | ||
- if (using_sanitizer) { | ||
defines += [ "HAVE_EBP_AVAILABLE=0" ] | ||
} else { | ||
defines += [ "HAVE_EBP_AVAILABLE=1" ] | ||
- } | ||
} | ||
|
||
if (!is_clang) { |