git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lavf: deprecate compute_pkt_fields2
[ffmpeg.git]
/
libavformat
/
internal.h
diff --git
a/libavformat/internal.h
b/libavformat/internal.h
index
a65a3b7
..
7bbf775
100644
(file)
--- a/
libavformat/internal.h
+++ b/
libavformat/internal.h
@@
-90,6
+90,18
@@
struct AVFormatInternal {
* Timebase for the timestamp offset.
*/
AVRational offset_timebase;
* Timebase for the timestamp offset.
*/
AVRational offset_timebase;
+
+#if FF_API_COMPUTE_PKT_FIELDS2
+ int missing_ts_warning;
+#endif
+};
+
+struct AVStreamInternal {
+ /**
+ * Set to 1 if the codec allows reordering, so pts can be different
+ * from dts.
+ */
+ int reorder;
};
void ff_dynarray_add(intptr_t **tab_ptr, int *nb_ptr, intptr_t elem);
};
void ff_dynarray_add(intptr_t **tab_ptr, int *nb_ptr, intptr_t elem);