OLD | NEW |
(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 |
OLD | NEW |