aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-26 23:58:48 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-26 23:58:48 +0100
commit61b5ef7754132c43e6db1a273066e82c469fa39c (patch)
treed2040eba8f7916ab2c5293a7590e04fcd497898e /libavformat/avio.h
parent0d4a66ee7f48c65ac67f4d91c8f8f2bfd47afa0d (diff)
downloadffmpeg-61b5ef7754132c43e6db1a273066e82c469fa39c.tar.gz
libavformat/aviobuf: keep track of the original buffer-size and restore it after probe/ensure-seekback
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index defd6172bc..4004b6fda9 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -146,6 +146,13 @@ typedef struct AVIOContext {
* This field is internal to libavformat and access from outside is not allowed.
*/
int writeout_count;
+
+ /**
+ * Original buffer size
+ * used internally after probing and ensure seekback to reset the buffer size
+ * This field is internal to libavformat and access from outside is not allowed.
+ */
+ int orig_buffer_size;
} AVIOContext;
/* unbuffered I/O */