summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-26 15:24:00 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-27 18:19:01 +0200
commit279ae1cd72a17a697af8f71a987ac89ee4aa9107 (patch)
tree60024741f5a7386c8be681078edfd9ec0adf1b86 /libavformat/avformat.h
parent7e9830d123a879e6f13c50f2586289b1b37a51f9 (diff)
lavf: move fields that appear to be intended as public API to the correct section
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index de53c26ee5..f7779e7808 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1129,6 +1129,21 @@ typedef struct AVFormatContext {
*/
int avoid_negative_ts;
+ /**
+ * avio flags, used to force AVIO_FLAG_DIRECT.
+ * - encoding: unused
+ * - decoding: Set by user via AVOptions (NO direct access)
+ */
+ int avio_flags;
+
+ /**
+ * The duration field can be estimated through various ways, and this field can be used
+ * to know how the duration was estimated.
+ * - encoding: unused
+ * - decoding: Read by user via AVOptions (NO direct access)
+ */
+ enum AVDurationEstimationMethod duration_estimation_method;
+
/*****************************************************************
* All fields below this line are not part of the public API. They
* may not be used outside of libavformat and can be changed and
@@ -1166,14 +1181,6 @@ typedef struct AVFormatContext {
*/
#define RAW_PACKET_BUFFER_SIZE 2500000
int raw_packet_buffer_remaining_size;
-
- int avio_flags;
-
- /**
- * The duration field can be estimated through various ways, and this field can be used
- * to know how the duration was estimated.
- */
- enum AVDurationEstimationMethod duration_estimation_method;
} AVFormatContext;
/**