diff options
author | Austin Yuan <shengquan.yuan@intel.com> | 2010-03-05 12:34:36 +0800 |
---|---|---|
committer | Austin Yuan <shengquan.yuan@intel.com> | 2010-03-05 12:34:36 +0800 |
commit | 03d63fe65f302199da2b7ed5180dd8103104142f (patch) | |
tree | 1b88183ca0adda509e200770db52f17786fa75b0 | |
parent | e272a93ebccb44b8b78b238e617137708f08c94d (diff) |
Fix a typo
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
-rw-r--r-- | test/encode/h264encode.c | 2 |
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"); |