Revision 32a97d46 libavformat/avio.h

View differences:

libavformat/avio.h
110 110
attribute_deprecated int url_write(URLContext *h, const unsigned char *buf, int size);
111 111
attribute_deprecated int64_t url_seek(URLContext *h, int64_t pos, int whence);
112 112
attribute_deprecated int url_close(URLContext *h);
113
attribute_deprecated int64_t url_filesize(URLContext *h);
113 114
#endif
114 115

  
115 116
/**
......
119 120
int url_exist(const char *url);
120 121

  
121 122
/**
122
 * Return the filesize of the resource accessed by h, AVERROR(ENOSYS)
123
 * if the operation is not supported by h, or another negative value
124
 * corresponding to an AVERROR error code in case of failure.
125
 */
126
int64_t url_filesize(URLContext *h);
127

  
128
/**
129 123
 * Return the file descriptor associated with this URL. For RTP, this
130 124
 * will return only the RTP file descriptor, not the RTCP file descriptor.
131 125
 *

Also available in: Unified diff