OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2009 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 // Used for FFmpeg error codes. |
| 6 #include <cerrno> |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 |
| 10 // Include FFmpeg header files. |
| 11 extern "C" { |
| 12 // Temporarily disable possible loss of data warning. |
| 13 // TODO(scherkus): fix and upstream the compiler warnings. |
| 14 MSVC_PUSH_DISABLE_WARNING(4244); |
| 15 #include "third_party/ffmpeg/include/libavcodec/avcodec.h" |
| 16 #include "third_party/ffmpeg/include/libavformat/avformat.h" |
| 17 MSVC_POP_WARNING(); |
| 18 } // extern "C" |
| 19 |
| 20 namespace media { |
| 21 |
| 22 // MediaFormat key identifying the CodecID. |
| 23 extern const char kFFmpegCodecID[]; |
| 24 |
| 25 // FFmpeg MIME types. |
| 26 namespace mime_type { |
| 27 |
| 28 extern const char kFFmpegAudio[]; |
| 29 extern const char kFFmpegVideo[]; |
| 30 |
| 31 } // namespace mime_type |
| 32 |
| 33 } // namespace media |
OLD | NEW |