Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-03-25 13:58:55 +0400
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-04 22:39:33 +0400
commita45605a1ba3126c4d8314886d90326a7ffe746ff (patch)
treeb8c44dfb6aad79b9bc2bb249f3b7a605a74ef642 /libavformat/avformat.h
parentfde63146d264f8de86b5cca442eaeed3d59a6681 (diff)
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.h2
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 {