summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-10 09:36:44 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-02-10 21:34:29 -0500
commitb0294c80d3a3981ec7ef9e4654962780e8566075 (patch)
treec5c859ed98356e65e2771cf42abe6c852f23ca02 /libavformat/avformat.h
parent0605cb433263502db3b6a6d73e4d69ba5ceee8ef (diff)
lavf: deprecate AVFormatContext.index_built
it's not touched anywhere in ffmpeg, the code setting it was removed over two years ago (e9b78eeba22b050810a507e69df1b652e56ab62b). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index f676dc214b..11a45418ef 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -752,7 +752,9 @@ typedef struct AVFormatContext {
/* av_seek_frame() support */
int64_t data_offset; /**< offset of the first packet */
- int index_built;
+#if FF_API_INDEX_BUILT
+ attribute_deprecated int index_built;
+#endif
int mux_rate;
unsigned int packet_size;