off by one frame

This commit is contained in:
j 2010-09-18 01:40:58 +02:00
parent 94b001aa38
commit 9bfe6d4337

View file

@ -403,7 +403,7 @@ int extract_frame_webm(oxstate *state) {
while((img = vpx_codec_get_frame(&codec, &iter))) {
//we got a frame...
if(seek_tstamp < pkt_tstamp) {
if(seek_tstamp <= pkt_tstamp) {
unsigned int y;
unsigned char *q, *p, *q2, *p2;
OggPlayYUVChannels from;