lavf/utils: rewrite real fps calculation code.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 16 Sep 2011 18:40:08 +0000 (20:40 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 16 Sep 2011 19:29:58 +0000 (21:29 +0200)
commit5c5306df962bbbaf6a3339850aa43771fc4add19
tree3163071b84f94fde85a9d75f6a11771a0e1eeb7e
parente3fc0e8280221639be9b02b27ab8fee2dd2b1b29
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>
libavformat/avformat.h
libavformat/utils.c
tests/ref/fate/cscd