From 619f4f5c5aa9f02056156fa700300b9e925d401c Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Thu, 7 Nov 2013 00:51:12 +0100 Subject: [PATCH] osxaudiosink: fix segfault when we can't get the channels layout --- sys/osxaudio/gstosxcoreaudiohal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/osxaudio/gstosxcoreaudiohal.c b/sys/osxaudio/gstosxcoreaudiohal.c index b707af9..1c87361 100644 --- a/sys/osxaudio/gstosxcoreaudiohal.c +++ b/sys/osxaudio/gstosxcoreaudiohal.c @@ -371,8 +371,9 @@ gst_core_audio_audio_device_get_channel_layout (AudioDeviceID device_id) } } -beach: gst_core_audio_dump_channel_layout (layout); + +beach: return layout; failed: -- 2.7.4