summaryrefslogtreecommitdiffstats
path: root/third_party/ffmpeg/avformat-52.sigs
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-06 01:29:23 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-06 01:29:23 +0000
commit939326688f766fd4a14af9df3beb613c302702a3 (patch)
tree1db54375dd08f9ac48d2b01e14bb5b323101e77e /third_party/ffmpeg/avformat-52.sigs
parentf093af6779204215d3eb99cc1c1fff5671798342 (diff)
downloadchromium_src-939326688f766fd4a14af9df3beb613c302702a3.zip
chromium_src-939326688f766fd4a14af9df3beb613c302702a3.tar.gz
chromium_src-939326688f766fd4a14af9df3beb613c302702a3.tar.bz2
Change ffmpeg.gyp over to use generate_stubs.py.
Also reimplement media_posix.cc to call into the generated stub functions instead of having its own hacked together version. Review URL: http://codereview.chromium.org/118046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17819 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/ffmpeg/avformat-52.sigs')
-rw-r--r--third_party/ffmpeg/avformat-52.sigs12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/ffmpeg/avformat-52.sigs b/third_party/ffmpeg/avformat-52.sigs
new file mode 100644
index 0000000..5f7b193
--- /dev/null
+++ b/third_party/ffmpeg/avformat-52.sigs
@@ -0,0 +1,12 @@
+# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+#
+# Functions from avformat used in chromium code.
+
+int av_find_stream_info(AVFormatContext *ic);
+int av_open_input_file(AVFormatContext **ic_ptr, const char *filename, AVInputFormat *fmt, int buf_size, AVFormatParameters *ap);
+int av_read_frame(AVFormatContext *s, AVPacket *pkt);
+int av_register_protocol(URLProtocol *protocol);
+int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, int flags);
+void av_register_all(void);