From: Jungsup Lee Date: Tue, 20 Sep 2016 05:57:28 +0000 (+0900) Subject: Fix build error X-Git-Tag: accepted/tizen/common/20160921.162143^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17a1e1c7677ea507f168c3c61db77342b291c8da;p=platform%2Fupstream%2Fpulseaudio.git Fix build error [Version] 5.0-94 [Profile] Common [Issue Type] Bug fix Signed-off-by: Jungsup Lee Change-Id: I8f275ac13a96677cd17cb9d539e37fe440664d98 --- diff --git a/packaging/pulseaudio.spec b/packaging/pulseaudio.spec index b3665ac..b27a650 100644 --- a/packaging/pulseaudio.spec +++ b/packaging/pulseaudio.spec @@ -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 diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c index 7523587..52e93e2 100644 --- a/src/pulsecore/sink-input.c +++ b/src/pulsecore/sink-input.c @@ -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;