summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1d268b9..cfdaea6 100644
--- a/test/encode/h264encode.c
+++ b/test/encode/h264encode.c
@@ -461,8 +461,8 @@ int main(int argc,char **argv)
printf("\n\n");
vaDestroySurfaces(va_dpy,&surface_id[0],SURFACE_NUM);
- vaDestroyConfig(va_dpy,config_id);
vaDestroyContext(va_dpy,context_id);
+ vaDestroyConfig(va_dpy,config_id);
vaTerminate(va_dpy);