diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-02 18:40:53 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-11 13:42:06 +0200 |
commit | 4e640f05605f19a377c2ae9cc27effb53f83cf4f (patch) | |
tree | ea95cb81545e017a33d3277c969ff8a061555d01 /libavformat/avio.h | |
parent | 70af8a5efb238b0c7a4a220facd8083455e9857d (diff) | |
download | ffmpeg-4e640f05605f19a377c2ae9cc27effb53f83cf4f.tar.gz |
avformat/avio: move short seek threshold to the context
This allows us to adjust it internally.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 5c5aa6d0f0..28997f8157 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -196,6 +196,12 @@ typedef struct AVIOContext { * This field is internal to libavformat and access from outside is not allowed. */ int orig_buffer_size; + + /** + * Threshold to favor readahead over seek. + * This is current internal only, do not use from outside. + */ + int short_seek_threshold; } AVIOContext; /* unbuffered I/O */ |