You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-05-21 16:47:28 +02:00
lavf: deprecate AVFormatContext.index_built
it's not touched anywhere in ffmpeg, the code setting it was removed over two years ago (e9b78eeba2). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commitb0294c80d3)
This commit is contained in:
committed by
Michael Niedermayer
parent
4f036b9f69
commit
b845252d52
@@ -754,7 +754,9 @@ typedef struct AVFormatContext {
|
|||||||
|
|
||||||
/* av_seek_frame() support */
|
/* av_seek_frame() support */
|
||||||
int64_t data_offset; /**< offset of the first packet */
|
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;
|
int mux_rate;
|
||||||
unsigned int packet_size;
|
unsigned int packet_size;
|
||||||
|
|||||||
@@ -89,5 +89,8 @@
|
|||||||
#ifndef FF_API_OLD_AVIO
|
#ifndef FF_API_OLD_AVIO
|
||||||
#define FF_API_OLD_AVIO (LIBAVFORMAT_VERSION_MAJOR < 53)
|
#define FF_API_OLD_AVIO (LIBAVFORMAT_VERSION_MAJOR < 53)
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef FF_API_INDEX_BUILT
|
||||||
|
#define FF_API_INDEX_BUILT (LIBAVFORMAT_VERSION_MAJOR < 53)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif //AVFORMAT_VERSION_H
|
#endif //AVFORMAT_VERSION_H
|
||||||
|
|||||||
Reference in New Issue
Block a user