[xiph-commits] r16717 - trunk/ffmpeg2theora/src
j at svn.xiph.org
j at svn.xiph.org
Mon Nov 23 00:20:41 PST 2009
Author: j
Date: 2009-11-23 00:20:41 -0800 (Mon, 23 Nov 2009)
New Revision: 16717
Modified:
trunk/ffmpeg2theora/src/index.c
Log:
patch from cpearce to fix issue with index calculation
Modified: trunk/ffmpeg2theora/src/index.c
===================================================================
--- trunk/ffmpeg2theora/src/index.c 2009-11-22 04:01:45 UTC (rev 16716)
+++ trunk/ffmpeg2theora/src/index.c 2009-11-23 08:20:41 UTC (rev 16717)
@@ -128,7 +128,7 @@
}
if (!is_keyframe ||
- end_time < (index->prev_packet_time + index->packet_interval))
+ start_time <= (index->prev_packet_time + index->packet_interval))
{
/* Sample is not a keyframe, or appears too close to the previous
keyframe packet, don't add it to the keyframe index. */
More information about the commits
mailing list