summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-10-09 09:22:36 +0200
committerAnton Khirnov <anton@khirnov.net>2020-10-28 15:00:40 +0100
commit91a98cc4ead6d871053011dafb72458a4e75fa8b (patch)
treeb9e941f922e970d9b0b9995af5cad780ccd781b9 /libavformat/internal.h
parentcea7c19cda0ea1630ae1de8c102ab14231b9db10 (diff)
lavf: move AVStream.pts_buffer to AVStreamInternal
Those are private fields, no reason to have them exposed in a public header.
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index ce79da8000..23c2ce0dc3 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -308,12 +308,16 @@ struct AVStreamInternal {
*/
int update_initial_durations_done;
+#define MAX_REORDER_DELAY 16
+
/**
* Internal data to generate dts from pts
*/
int64_t pts_reorder_error[MAX_REORDER_DELAY+1];
uint8_t pts_reorder_error_count[MAX_REORDER_DELAY+1];
+ int64_t pts_buffer[MAX_REORDER_DELAY+1];
+
/**
* Internal data to analyze DTS and detect faulty mpeg streams
*/