diff --git a/src/oxframe.c b/src/oxframe.c index abbd453..3c94fd4 100644 --- a/src/oxframe.c +++ b/src/oxframe.c @@ -402,7 +402,8 @@ int extract_frame_webm(oxstate *state) { while((img = vpx_codec_get_frame(&codec, &iter))) { //we got a frame... - if(seek_tstamp-pkt_tstamp<=0) { + + if(seek_tstamp < pkt_tstamp) { unsigned int y; unsigned char *q, *p, *q2, *p2; OggPlayYUVChannels from;