aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-02-22 13:04:18 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-02-22 14:31:23 +0100
commit3c096751ffe85861cd88ee822b86f10155b7b639 (patch)
tree90a82a51e8ec1d98854d8466c37d5877ed5db46b /libavformat/avformat.h
parentd4dfa97ae3ad239e7b771d0baf7716947c397dfd (diff)
downloadffmpeg-3c096751ffe85861cd88ee822b86f10155b7b639.tar.gz
avformat/utils: compute_pkt_fields: Fix DTS for the case where has_b_frames is too large but the correct one is constant
Fixes issue1.m2ts Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 7abe15d64c..52eeb613cf 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -981,6 +981,13 @@ typedef struct AVStream {
* Internal data to prevent doing update_initial_durations() twice
*/
int update_initial_durations_done;
+
+ /**
+ * 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];
+
} AVStream;
AVRational av_stream_get_r_frame_rate(const AVStream *s);