mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
lavf: remove disabled FF_API_FILESIZE cruft
This commit is contained in:
parent
df0bb26aca
commit
2f5e728b58
@ -835,13 +835,6 @@ typedef struct AVFormatContext {
|
|||||||
*/
|
*/
|
||||||
int64_t duration;
|
int64_t duration;
|
||||||
|
|
||||||
#if FF_API_FILESIZE
|
|
||||||
/**
|
|
||||||
* decoding: total file size, 0 if unknown
|
|
||||||
*/
|
|
||||||
attribute_deprecated int64_t file_size;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Decoding: total stream bitrate in bit/s, 0 if not
|
* Decoding: total stream bitrate in bit/s, 0 if not
|
||||||
* available. Never set it directly if the file_size and the
|
* available. Never set it directly if the file_size and the
|
||||||
|
@ -47,9 +47,6 @@
|
|||||||
* Those FF_API_* defines are not part of public API.
|
* Those FF_API_* defines are not part of public API.
|
||||||
* They may change, break or disappear at any time.
|
* They may change, break or disappear at any time.
|
||||||
*/
|
*/
|
||||||
#ifndef FF_API_FILESIZE
|
|
||||||
#define FF_API_FILESIZE (LIBAVFORMAT_VERSION_MAJOR < 54)
|
|
||||||
#endif
|
|
||||||
#ifndef FF_API_MUXRATE
|
#ifndef FF_API_MUXRATE
|
||||||
#define FF_API_MUXRATE (LIBAVFORMAT_VERSION_MAJOR < 54)
|
#define FF_API_MUXRATE (LIBAVFORMAT_VERSION_MAJOR < 54)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user