summaryrefslogtreecommitdiffstats
path: root/media/bench/file_protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/bench/file_protocol.h')
-rw-r--r--media/bench/file_protocol.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/media/bench/file_protocol.h b/media/bench/file_protocol.h
new file mode 100644
index 0000000..3cfddad
--- /dev/null
+++ b/media/bench/file_protocol.h
@@ -0,0 +1,14 @@
+// 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.
+//
+// Implements a basic file I/O URLProtocol for FFmpeg. Since we don't build
+// FFmpeg binaries with protocols, we have to write our own.
+
+#ifndef MEDIA_BENCH_FILE_PROTOCOL_H_
+#define MEDIA_BENCH_FILE_PROTOCOL_H_
+
+struct URLProtocol;
+extern URLProtocol kFFmpegFileProtocol;
+
+#endif // MEDIA_BENCH_FILE_PROTOCOL_H_