OSDN Git Service

fix problem with spurious timestamp change
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 20 Jun 2010 21:20:40 +0000 (21:20 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 20 Jun 2010 21:20:40 +0000 (21:20 +0000)
commit3f361e0a4bb74c572fb7a77b8a4218fdfa3dd330
treea8f335e3461c657413573414b44dff64e38076c0
parent6f231a75aa53153337118aa2abdece3e734686d6
fix problem with spurious timestamp change
some rearrangement of code that was previously done to reader caused
scr_offset to be subtracted from renderOffset twice whenever a
new scr_offset was calculated.  this could cause subsequent timestamp
calculations to be way off and in at least one known case lead to
a crash due to consuming too much memory in hb_buffer_t's

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