aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-31 08:36:14 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-12-31 14:13:51 +0100
commit4bfcedb33f7bb8aff43a32f924742ed5a4ba3edf (patch)
tree3872786a9cd77c90303f3e3f52d499c268f57f3e /libavformat/avformat.h
parentcbeaf678889baeaac0776305f3ca289318a1aca7 (diff)
downloadffmpeg-4bfcedb33f7bb8aff43a32f924742ed5a4ba3edf.tar.gz
avformat: dont run update_initial_duration() twice
This should avoid floods of first_dts not matching debug messages Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 52eef0dd5a..6d719d7985 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -893,6 +893,10 @@ typedef struct AVStream {
*/
int pts_wrap_behavior;
+ /**
+ * Internal data to prevent doing update_initial_durations() twice
+ */
+ int update_initial_durations_done;
} AVStream;
AVRational av_stream_get_r_frame_rate(const AVStream *s);