Fix build error
[platform/upstream/pulseaudio.git] / src / pulsecore / sink-input.c
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;