Commit 48d03547 authored by Xiang, Haihao's avatar Xiang, Haihao

test/encode/h264encode: Destroy config after context.

Signed-off-by: default avatarXiang, Haihao <haihao.xiang@intel.com>
parent 6df4c56f
...@@ -461,8 +461,8 @@ int main(int argc,char **argv) ...@@ -461,8 +461,8 @@ int main(int argc,char **argv)
printf("\n\n"); printf("\n\n");
vaDestroySurfaces(va_dpy,&surface_id[0],SURFACE_NUM); vaDestroySurfaces(va_dpy,&surface_id[0],SURFACE_NUM);
vaDestroyConfig(va_dpy,config_id);
vaDestroyContext(va_dpy,context_id); vaDestroyContext(va_dpy,context_id);
vaDestroyConfig(va_dpy,config_id);
vaTerminate(va_dpy); vaTerminate(va_dpy);
......
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