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

Side by Side Diff: media/filters/ffmpeg_common.h

Issue 28165: Checking in media::FFmpegGlue and some common FFmpeg code. (Closed)
Patch Set: mime type stuff Created 11 years, 9 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
« no previous file with comments | « media/build/media_unittests.vcproj ('k') | media/filters/ffmpeg_common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « media/build/media_unittests.vcproj ('k') | media/filters/ffmpeg_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698