summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-01-12 09:36:11 +0100
committerAnton Khirnov <anton@khirnov.net>2012-01-12 18:18:23 +0100
commite5c708151e3dbf09c9564051c432b1b83a1674d0 (patch)
tree43f3e41f5c32cfa89f0f28e25e18e3e3de2877f9 /libavformat/avformat.h
parente01a29a461ec15aad745fa89e510a92918d872aa (diff)
lavf: undeprecate read_seek().
The "new seeking API" was never finished and nobody is working on it.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 89b9eda4a4..fff911a483 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -503,7 +503,6 @@ typedef struct AVInputFormat {
*/
int (*read_close)(struct AVFormatContext *);
-#if FF_API_READ_SEEK
/**
* Seek to a given timestamp relative to the frames in
* stream component stream_index.
@@ -512,9 +511,9 @@ typedef struct AVInputFormat {
* match is available.
* @return >= 0 on success (but not necessarily the new offset)
*/
- attribute_deprecated int (*read_seek)(struct AVFormatContext *,
- int stream_index, int64_t timestamp, int flags);
-#endif
+ int (*read_seek)(struct AVFormatContext *,
+ int stream_index, int64_t timestamp, int flags);
+
/**
* Get the next timestamp in stream[stream_index].time_base units.
* @return the timestamp or AV_NOPTS_VALUE if an error occurred