summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2021-10-13 23:05:40 +0300
committerJan Ekström <jeebjp@gmail.com>2021-10-24 13:04:39 +0300
commita5622ed16f8e22a80cecd8936799e61f61a74cd5 (patch)
treecc21b0c91593e7cb0f8393969f69c092f88d272b /libavformat/avio.h
parentd39b58dc32b5fc7b480eeb9ef00a610732f02c2c (diff)
downloadffmpeg-a5622ed16f8e22a80cecd8936799e61f61a74cd5.tar.gz
avformat/avio{,buf}: deprecate AVIOContext::written
Originally added as a private entry in commit 3f75e5116b900f1428aa13041fc7d6301bf1988a, 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).
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index a7b56ab667..5e60c2e35c 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -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,