summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilbok Lee <gilbok.lee@samsung.com>2017-09-15 13:08:26 +0900
committerGilbok Lee <gilbok.lee@samsung.com>2017-09-15 13:08:26 +0900
commite3b8a7868a514d2dcf94cb6fe6d5162e03989e2e (patch)
treebd5b12aeb9d0b1a79f36dc8345fa4736bc624af9
parent999847fc75ab1c0041ad51e5855b1719699ca970 (diff)
downloadlibmm-radio-e3b8a7868a514d2dcf94cb6fe6d5162e03989e2e.tar.gz
libmm-radio-e3b8a7868a514d2dcf94cb6fe6d5162e03989e2e.tar.bz2
libmm-radio-e3b8a7868a514d2dcf94cb6fe6d5162e03989e2e.zip
[Version] 0.2.31 [Profile] Mobile, Wearable [Issue Type] Fix bugs Change-Id: I327129e3e1a89e7ee5ab43f1e1da81d2e4557e2a
-rwxr-xr-xpackaging/libmm-radio.spec2
-rw-r--r--src/mm_radio_priv_hal.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/libmm-radio.spec b/packaging/libmm-radio.spec
index 9c9695a..d44a5dc 100755
--- a/packaging/libmm-radio.spec
+++ b/packaging/libmm-radio.spec
@@ -1,6 +1,6 @@
Name: libmm-radio
Summary: Multimedia Framework Radio Library
-Version: 0.2.30
+Version: 0.2.31
Release: 0
Group: System/Libraries
License: Apache-2.0
diff --git a/src/mm_radio_priv_hal.c b/src/mm_radio_priv_hal.c
index 1dfff6f..6e9cffd 100644
--- a/src/mm_radio_priv_hal.c
+++ b/src/mm_radio_priv_hal.c
@@ -1047,7 +1047,6 @@ FINISHED:
}
FINISHED_ERR:
- radio->scan_thread = 0;
if (radio->old_state == MM_RADIO_STATE_PLAYING) {
MMRADIO_SET_STATE(radio, MM_RADIO_STATE_PLAYING);
@@ -1094,6 +1093,7 @@ FINISHED_ERR:
MMRADIO_LOG_FLEAVE();
+ radio->scan_thread = 0;
pthread_exit(NULL);
}