aboutsummaryrefslogtreecommitdiffstats
path: root/libav/avio.h
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-05-20 16:31:13 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-05-20 16:31:13 +0000
commitc9a65ca8c306071b3c359b56a384a1594cd505df (patch)
treea33c4b156673f2c1404042501c1cebaae6a35457 /libav/avio.h
parentdb7f1f95acc050bb5ddf62b0008eab8c8305d369 (diff)
downloadffmpeg-c9a65ca8c306071b3c359b56a384a1594cd505df.tar.gz
converted to new API
Originally committed as revision 547 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/avio.h')
-rw-r--r--libav/avio.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/libav/avio.h b/libav/avio.h
index 03b12afd61..36263167a8 100644
--- a/libav/avio.h
+++ b/libav/avio.h
@@ -12,16 +12,6 @@ struct URLContext {
void *priv_data;
};
-typedef struct URLFormat {
- char format_name[32];
- int sample_rate;
- int frame_rate;
- int channels;
- int height;
- int width;
- enum PixelFormat pix_fmt;
-} URLFormat;
-
typedef struct URLContext URLContext;
typedef struct URLPollEntry {
@@ -36,7 +26,6 @@ int url_open(URLContext **h, const char *filename, int flags);
int url_read(URLContext *h, unsigned char *buf, int size);
int url_write(URLContext *h, unsigned char *buf, int size);
offset_t url_seek(URLContext *h, offset_t pos, int whence);
-int url_getformat(URLContext *h, URLFormat *f);
int url_close(URLContext *h);
int url_exist(const char *filename);
offset_t url_filesize(URLContext *h);
@@ -50,9 +39,6 @@ typedef struct URLProtocol {
int (*url_write)(URLContext *h, unsigned char *buf, int size);
offset_t (*url_seek)(URLContext *h, offset_t pos, int whence);
int (*url_close)(URLContext *h);
- /* get precise information about the format, if available. return
- -ENODATA if not available */
- int (*url_getformat)(URLContext *h, URLFormat *f);
struct URLProtocol *next;
} URLProtocol;