OSDN Git Service

fix framerate detection again (really, i mean it this time)
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 5 Nov 2010 23:29:31 +0000 (23:29 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 5 Nov 2010 23:29:31 +0000 (23:29 +0000)
commitc8df6fab888a342e8b1dfc61b1580e91c7a1e31f
treeb7f70cdc8fe38a4d0524d5ce9826d1041dbce3d5
parenta407645214693cbaf45d6c333715968b31838214
fix framerate detection again (really, i mean it this time)
integer overflow was causing our sanity checks of ffmpegs frame rate
to fail.  We would then fall back to using less accurate values.

Also removes the completely incorrect adjustment that I made based on
ticks_per_frame.  That is only useful in a different code path.

git-svn-id: svn://localhost/HandBrake/trunk@3650 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/decavcodec.c