diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-11-07 00:51:12 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-11-07 00:55:12 +0100 |
commit | 17f3eb96030ac4e7b1bad517e743e9074a520c7e (patch) | |
tree | 49fe8e3fe13af32fbfd0ecfdc9bc6e3ca8634263 | |
parent | 1ff5861ff9d86e980601c121d023a8fcab22d595 (diff) | |
download | gstreamer-plugins-good-17f3eb96030ac4e7b1bad517e743e9074a520c7e.tar.gz |
osxaudiosink: fix segfault when we can't get the channels layout
-rw-r--r-- | sys/osxaudio/gstosxcoreaudiohal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/osxaudio/gstosxcoreaudiohal.c b/sys/osxaudio/gstosxcoreaudiohal.c index b707af917..1c8736135 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: |