summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-15 21:40:13 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-12-15 21:43:19 +0100
commitd600b18f224e02f8bfc6660bfa442e7ff3fb057c (patch)
treef004cb81e25e804181fbc53737cd9c5d021cec5c /libavformat/avformat.h
parent476aceaa22a0f68d69fe8477f9ee98bf212d222c (diff)
avformat/utils: limit rfps to values larger than fps
This avoids some nonsense values being produced by totally corrupted input Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 6bd54cec64..52eef0dd5a 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -756,6 +756,7 @@ typedef struct AVStream {
int64_t last_dts;
int64_t duration_gcd;
int duration_count;
+ int64_t rfps_duration_sum;
double (*duration_error)[2][MAX_STD_TIMEBASES];
int64_t codec_info_duration;
int64_t codec_info_duration_fields;