diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-26 23:58:48 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-26 23:58:48 +0100 |
commit | 61b5ef7754132c43e6db1a273066e82c469fa39c (patch) | |
tree | d2040eba8f7916ab2c5293a7590e04fcd497898e /libavformat/avio.h | |
parent | 0d4a66ee7f48c65ac67f4d91c8f8f2bfd47afa0d (diff) | |
download | ffmpeg-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.h | 7 |
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 */ |