audio-convert: Fix endianness conversion function init
authorMarouen Ghodhbane <marouen.ghodhbane@nxp.com>
Thu, 29 Nov 2018 11:55:28 +0000 (12:55 +0100)
committerSebastian Dröge <slomo@coaxion.net>
Fri, 30 Nov 2018 09:14:33 +0000 (09:14 +0000)
commit0f3efc4b84c2db8cc0c64db66ff100ee212e9a66
treea82d37dc12b46e12a62b3ca9fd05ee02f685204d
parent694e30f858ebddae8c39cf934ff1b21ba7aa08e7
audio-convert: Fix endianness conversion function init

Endianness conversion should be based on the sample width instead of the
sample depth.

Fixes #510
gst-libs/gst/audio/audio-converter.c