summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-16 20:40:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-16 21:29:58 +0200
commit5c5306df962bbbaf6a3339850aa43771fc4add19 (patch)
tree3163071b84f94fde85a9d75f6a11771a0e1eeb7e /libavformat/avformat.h
parente3fc0e8280221639be9b02b27ab8fee2dd2b1b29 (diff)
lavf/utils: rewrite real fps calculation code.
The new code is free of biasing to the first timestamps Fixes fraps.fps.test.zip Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 4315710e31..40ba81b01e 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -646,7 +646,7 @@ typedef struct AVStream {
int64_t last_dts;
int64_t duration_gcd;
int duration_count;
- double duration_error[MAX_STD_TIMEBASES];
+ double duration_error[2][2][MAX_STD_TIMEBASES];
int64_t codec_info_duration;
} *info;