[x264-devel] commit: Fix 10l in timecode seeking (Yusuke Nakamura )

git at videolan.org git at videolan.org
Tue Apr 6 21:48:27 CEST 2010


x264 | branch: master | Yusuke Nakamura <muken.the.vfrmaniac at gmail.com> | Mon Mar 29 00:05:30 2010 -0700| [ffd1cd15984b60ab4e74c32ac71ffe4b576a30da] | committer: Jason Garrett-Glaser 

Fix 10l in timecode seeking

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=ffd1cd15984b60ab4e74c32ac71ffe4b576a30da
---

 input/timecode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/input/timecode.c b/input/timecode.c
index 0dddb27..a0c3991 100644
--- a/input/timecode.c
+++ b/input/timecode.c
@@ -227,7 +227,7 @@ static int parse_tcfile( FILE *tcfile_in, timecode_hnd_t *h, video_info_t *info
                     start = end = timecodes_num - 1;
                 seq_fps_sig = sigexp10( seq_fps, &exponent );
                 seq_fps = MKV_TIMEBASE_DEN / ( round( MKV_TIMEBASE_DEN / seq_fps_sig ) / exponent );
-                for( ; num < start - h->seek && num < timecodes_num - 1; num++ )
+                for( ; num < start && num < timecodes_num - 1; num++ )
                     timecodes[num + 1] = timecodes[num] + 1 / assume_fps;
                 for( num = start; num <= end && num < timecodes_num - 1; num++ )
                     timecodes[num + 1] = timecodes[num] + 1 / seq_fps;



More information about the x264-devel mailing list