diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-03-25 11:58:55 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-04-04 20:39:33 +0200 |
commit | a45605a1ba3126c4d8314886d90326a7ffe746ff (patch) | |
tree | b8c44dfb6aad79b9bc2bb249f3b7a605a74ef642 /libavformat/avformat.h | |
parent | fde63146d264f8de86b5cca442eaeed3d59a6681 (diff) | |
download | ffmpeg-a45605a1ba3126c4d8314886d90326a7ffe746ff.tar.gz |
Add AVIO_FLAG_DIRECT.
Allows avoiding the buffer when using avio read, write and seek functions.
When using the ffmpeg executable -avioflags direct can be used to enable
this mode for input files, but has no effect on output files.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 7c307a7db2..5a11fdcc9f 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1083,6 +1083,8 @@ typedef struct AVFormatContext { */ #define RAW_PACKET_BUFFER_SIZE 2500000 int raw_packet_buffer_remaining_size; + + int avio_flags; } AVFormatContext; typedef struct AVPacketList { |