alsasrc: return negative value on read error
authorTim-Philipp Müller <tim@centricular.net>
Mon, 17 Dec 2012 20:32:52 +0000 (20:32 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 17 Dec 2012 20:50:33 +0000 (20:50 +0000)
commitdf6031f7c656489f665d01fb629315cf50f09536
tree945a22e0ea3e78c1641b816fe307774dec5f9875
parent68f366a8d37e5fb71106869b41911a749382143c
alsasrc: return negative value on read error

Otherwise baseaudiosrc won't go into the error code path.

https://bugzilla.gnome.org/show_bug.cgi?id=690197
ext/alsa/gstalsasrc.c