From 94b001aa38fe542d302a3eb2f16aea005a01ba37 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 25 Aug 2010 16:37:46 +0200 Subject: [PATCH] simplify tstamp check --- src/oxframe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;