From: Austin Yuan Date: Fri, 5 Mar 2010 04:34:36 +0000 (+0800) Subject: Fix a typo X-Git-Tag: 20100324_5.3.0.0000^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03d63fe65f302199da2b7ed5180dd8103104142f;p=profile%2Fivi%2Flibva.git Fix a typo Signed-off-by: Austin Yuan --- diff --git a/test/encode/h264encode.c b/test/encode/h264encode.c index 7b8a0b0..ca9f532 100644 --- a/test/encode/h264encode.c +++ b/test/encode/h264encode.c @@ -247,7 +247,7 @@ static int do_h264_encoding(void) dst_surface = SURFACE_NUM - 1; ref_surface = SURFACE_NUM - 2; - for (i=0; i < (frame_count - 2); i++) { + for (i = 0; i < frame_count; i++) { va_status = vaBeginPicture(va_dpy, context_id, surface_id[src_surface]); CHECK_VASTATUS(va_status,"vaBeginPicture");