Fix build error 44/88644/1 accepted/tizen/common/20160921.162143 accepted/tizen/ivi/20160922.042612 accepted/tizen/mobile/20160922.042311 accepted/tizen/tv/20160922.042445 accepted/tizen/wearable/20160922.042534 submit/tizen/20160921.041639
authorJungsup Lee <jungsup4.lee@samsung.com>
Tue, 20 Sep 2016 05:57:28 +0000 (14:57 +0900)
committerJungsup Lee <jungsup4.lee@samsung.com>
Tue, 20 Sep 2016 05:58:26 +0000 (14:58 +0900)
[Version] 5.0-94
[Profile] Common
[Issue Type] Bug fix

Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
Change-Id: I8f275ac13a96677cd17cb9d539e37fe440664d98

packaging/pulseaudio.spec
src/pulsecore/sink-input.c

index b3665ac..b27a650 100644 (file)
@@ -11,7 +11,7 @@
 Name:             pulseaudio
 Summary:          Improved Linux sound server
 Version:          5.0
-Release:          93
+Release:          94
 Group:            Multimedia/Audio
 License:          LGPL-2.1+
 URL:              http://pulseaudio.org
index 7523587..52e93e2 100644 (file)
@@ -1038,7 +1038,7 @@ void pa_sink_input_peek(pa_sink_input *i, size_t slength /* in sink bytes */, pa
                                         i->thread_info.resampler ? pa_resampler_max_block_size(i->thread_info.resampler) : 0);
 
                 while (target_length > 0) {
-                    if (target_length < schunk.length) {
+                    if (target_length < schunk.length)
                         schunk.length = target_length;
                     pa_memblockq_push_align(i->thread_info.render_memblockq, &schunk);
                     target_length -= schunk.length;