diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2011-04-02 16:23:13 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2011-04-07 14:45:45 +0800 |
commit | 48d035476e1505df3ea676e10064c9b8f9025519 (patch) | |
tree | 35503f6b997efb5ef65addccd2007a2cb03ccbcd /test | |
parent | 6df4c56f312aa4251db4c3b218686458009ac5fb (diff) |
test/encode/h264encode: Destroy config after context.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'test')
-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 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); |