Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: media/base/media_init.cc

Issue 1141703002: Chromium changes for static linking ffmpeg (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaking our x86inc.asm Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "media/base/media.h"
6 #include "media/ffmpeg/ffmpeg_common.h"
7
8 namespace media {
9 namespace internal {
10
11 void InitializeMediaLibraryInternal() {
12 // Disable logging as it interferes with layout tests.
13 av_log_set_level(AV_LOG_QUIET);
14
15 #if defined(ALLOCATOR_SHIM)
16 // Remove allocation limit from ffmpeg, so calls go down to shim layer.
17 av_max_alloc(0);
18 #endif
19 }
20
21 } // namespace internal
22 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698