summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@intel.com>2010-03-05 12:34:36 +0800
committerAustin Yuan <shengquan.yuan@intel.com>2010-03-05 12:34:36 +0800
commit03d63fe65f302199da2b7ed5180dd8103104142f (patch)
tree1b88183ca0adda509e200770db52f17786fa75b0
parente272a93ebccb44b8b78b238e617137708f08c94d (diff)
Fix a typo
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
-rw-r--r--test/encode/h264encode.c2
1 files changed, 1 insertions, 1 deletions
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");