avformat/avio{,buf}: deprecate AVIOContext::written

Originally added as a private entry in commit
3f75e5116b, but its grouping with
the comment noting its private state was missed during merging of
the field from Libav (most likely due to an already existing field
in between).
This commit is contained in:
Jan Ekström
2021-10-13 23:05:40 +03:00
parent d39b58dc32
commit a5622ed16f
4 changed files with 25 additions and 1 deletions

View File

@@ -290,7 +290,13 @@ typedef struct AVIOContext {
*/
int ignore_boundary_point;
#if FF_API_AVIOCONTEXT_WRITTEN
/**
* @deprecated field utilized privately by libavformat.
*/
attribute_deprecated
int64_t written;
#endif
/**
* Maximum reached position before a backward seek in the write buffer,