diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2016-12-06 02:56:24 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-12-08 15:58:28 -0500 |
commit | 3f75e5116b900f1428aa13041fc7d6301bf1988a (patch) | |
tree | c9689a60ce1331ea63078c73f1727985fcf7a856 /libavformat/avio.h | |
parent | fc85646ad495f3418042468da415af73a7a07334 (diff) | |
download | ffmpeg-3f75e5116b900f1428aa13041fc7d6301bf1988a.tar.gz |
avio: Keep track of the amount of data written
Make avio_size() work with any write AVIOContext.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 49721aa131..7bf7985c5e 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -176,6 +176,7 @@ typedef struct AVIOContext { */ enum AVIODataMarkerType current_type; int64_t last_time; + int64_t written; } AVIOContext; /** |