Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 645264 Details for
Bug 728624
www-client/chromium: segfaults with media-video/ffmpeg-4.3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
chromium-84.0.4147.45-ffmpeg-4.3.patch (text/plain), 1.21 KB, created by
Arfrever Frehtes Taifersar Arahesis
on 2020-06-19 16:43:51 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis
Created:
2020-06-19 16:43:51 UTC
Size:
1.21 KB
patch
obsolete
>https://bugs.chromium.org/p/chromium/issues/detail?id=1095962 > >--- /media/base/media.cc >+++ /media/base/media.cc >@@ -2,6 +2,8 @@ > // Use of this source code is governed by a BSD-style license that can be > // found in the LICENSE file. > >+#include <limits> >+ > #include "media/base/media.h" > > #include "base/allocator/buildflags.h" >@@ -41,7 +43,7 @@ > > #if BUILDFLAG(USE_ALLOCATOR_SHIM) > // Remove allocation limit from ffmpeg, so calls go down to shim layer. >- av_max_alloc(0); >+ av_max_alloc(std::numeric_limits<size_t>::max()); > #endif // BUILDFLAG(USE_ALLOCATOR_SHIM) > > #endif // BUILDFLAG(ENABLE_FFMPEG) >--- /third_party/ffmpeg/chromium/dllmain.cc >+++ /third_party/ffmpeg/chromium/dllmain.cc >@@ -3,6 +3,7 @@ > // found in the LICENSE file. > > #include <intrin.h> >+#include <limits> > #include <new.h> > #include <stdlib.h> > #include <windows.h> >@@ -28,7 +29,7 @@ > if (reason == DLL_PROCESS_ATTACH) { > DisableThreadLibraryCalls(instance); > // Remove allocation limit from ffmpeg, so calls go down to shim layer. >- av_max_alloc(0); >+ av_max_alloc(std::numeric_limits<size_t>::max()); > // Enable OOM crashes in the shim for all malloc calls that fail. > _set_new_mode(1); > _set_new_handler(&OnNoMemory);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 728624
: 645264