Skip to content

Commit

Permalink
Merge pull request #38 from brave/x86_ffmpeg_linux_fix
Browse files Browse the repository at this point in the history
fix for x86 linux ffmpeg issue
  • Loading branch information
bbondy authored Feb 12, 2018
2 parents ec2328a + eb68f91 commit 4476258
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions patches/third_party-ffmpeg-BUILD.gn.patch
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) {

0 comments on commit 4476258

Please sign in to comment.