mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00:00
Move the definitions of AVSEEK_SIZE to make it appear before the
description of url_seek(), which references it. Originally committed as revision 25376 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
326ede48ae
commit
85c15960b4
@ -134,6 +134,13 @@ int url_read(URLContext *h, unsigned char *buf, int size);
|
||||
int url_read_complete(URLContext *h, unsigned char *buf, int size);
|
||||
int url_write(URLContext *h, const unsigned char *buf, int size);
|
||||
|
||||
/**
|
||||
* Passing this as the "whence" parameter to a seek function causes it to
|
||||
* return the filesize without seeking anywhere. Supporting this is optional.
|
||||
* If it is not supported then the seek function will return <0.
|
||||
*/
|
||||
#define AVSEEK_SIZE 0x10000
|
||||
|
||||
/**
|
||||
* Change the position that will be used by the next read/write
|
||||
* operation on the resource accessed by h.
|
||||
@ -236,13 +243,6 @@ int av_url_read_pause(URLContext *h, int pause);
|
||||
int64_t av_url_read_seek(URLContext *h, int stream_index,
|
||||
int64_t timestamp, int flags);
|
||||
|
||||
/**
|
||||
* Passing this as the "whence" parameter to a seek function causes it to
|
||||
* return the filesize without seeking anywhere. Supporting this is optional.
|
||||
* If it is not supported then the seek function will return <0.
|
||||
*/
|
||||
#define AVSEEK_SIZE 0x10000
|
||||
|
||||
/**
|
||||
* Oring this flag as into the "whence" parameter to a seek function causes it to
|
||||
* seek by any means (like reopening and linear reading) or other normally unreasonble
|
||||
|
Loading…
Reference in New Issue
Block a user