Commit 03d63fe6 authored by Austin Yuan's avatar Austin Yuan

Fix a typo

Signed-off-by: default avatarAustin Yuan <shengquan.yuan@intel.com>
parent e272a93e
...@@ -247,7 +247,7 @@ static int do_h264_encoding(void) ...@@ -247,7 +247,7 @@ static int do_h264_encoding(void)
dst_surface = SURFACE_NUM - 1; dst_surface = SURFACE_NUM - 1;
ref_surface = SURFACE_NUM - 2; 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]); va_status = vaBeginPicture(va_dpy, context_id, surface_id[src_surface]);
CHECK_VASTATUS(va_status,"vaBeginPicture"); CHECK_VASTATUS(va_status,"vaBeginPicture");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment