]> git.sesse.net Git - ffmpeg/commit
avformat: offset fps calculation by one to include 60.00 fps
authorHendrik Leppkes <h.leppkes@gmail.com>
Mon, 9 Apr 2012 16:54:42 +0000 (18:54 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 21 Jun 2012 23:58:57 +0000 (01:58 +0200)
commit59163139679b0aa2cb84cd6d7a3f696ed5a5813a
tree458d32686b1acd13e9c6a3c27548ccc749a4c29d
parentcdb94139cccfa1434c9c6d7901ea571fd4569184
avformat: offset fps calculation by one to include 60.00 fps

To ensure the full range of values is still used, also adjust all uses of this function to loop from 0
instead of 1. This way only 60.00 is added and nothing lost.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c