summaryrefslogtreecommitdiffstats
path: root/mm-audio/aenc-qcelp13/qdsp6/src/aenc_svr.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm-audio/aenc-qcelp13/qdsp6/src/aenc_svr.c')
-rw-r--r--mm-audio/aenc-qcelp13/qdsp6/src/aenc_svr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm-audio/aenc-qcelp13/qdsp6/src/aenc_svr.c b/mm-audio/aenc-qcelp13/qdsp6/src/aenc_svr.c
index bdc96acf..6304918e 100644
--- a/mm-audio/aenc-qcelp13/qdsp6/src/aenc_svr.c
+++ b/mm-audio/aenc-qcelp13/qdsp6/src/aenc_svr.c
@@ -1,5 +1,5 @@
/*--------------------------------------------------------------------------
-Copyright (c) 2010, The Linux Foundation. All rights reserved.
+Copyright (c) 2010, 2016, The Linux Foundation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -191,6 +191,7 @@ fail_pipe:
void omx_qcelp13_thread_stop(struct qcelp13_ipc_info *qcelp13_info) {
DEBUG_DETAIL("%s stop server\n", __FUNCTION__);
+ qcelp13_info->dead = 1;
close(qcelp13_info->pipe_in);
close(qcelp13_info->pipe_out);
pthread_join(qcelp13_info->thr,NULL);