diff src/ffmpeg/libavformat/avformat.h @ 823:a195f1259a6b trunk

[svn] - merge VFS support from wma plugin.
author nenolod
date Mon, 12 Mar 2007 14:12:00 -0700
parents a35b692388f6
children 3cbdc6e19d7c
line wrap: on
line diff
--- a/src/ffmpeg/libavformat/avformat.h	Mon Mar 12 14:04:53 2007 -0700
+++ b/src/ffmpeg/libavformat/avformat.h	Mon Mar 12 14:12:00 2007 -0700
@@ -21,6 +21,9 @@
 #ifndef AVFORMAT_H
 #define AVFORMAT_H
 
+#include <audacious/util.h>
+#include <audacious/vfs.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -449,6 +452,10 @@
                        AVInputFormat *fmt,
                        int buf_size,
                        AVFormatParameters *ap);
+int av_open_input_vfsfile(AVFormatContext **ic_ptr, const char *fn, VFSFile *fd,
+                       AVInputFormat *fmt,
+                       int buf_size,
+                       AVFormatParameters *ap);
 /* no av_open for output, so applications will need this: */
 AVFormatContext *av_alloc_format_context(void);