alsasink: make gst-ident happy

This commit is contained in:
Vincent Penquerc'h 2014-06-03 15:16:44 +01:00
parent 3b2d583373
commit b444d8ba97

View file

@ -910,7 +910,8 @@ gst_alsasink_prepare (GstAudioSink * asink, GstAudioRingBufferSpec * spec)
if (chmap && chmap->channels == alsa->channels) { if (chmap && chmap->channels == alsa->channels) {
GstAudioChannelPosition pos[8]; GstAudioChannelPosition pos[8];
if (alsa_chmap_to_channel_positions (chmap, pos)) if (alsa_chmap_to_channel_positions (chmap, pos))
gst_audio_ring_buffer_set_channel_positions (GST_AUDIO_BASE_SINK (alsa)->ringbuffer, pos); gst_audio_ring_buffer_set_channel_positions (GST_AUDIO_BASE_SINK
(alsa)->ringbuffer, pos);
} }
free (chmap); free (chmap);
} }