riff-media: Fix array read
authorEdward Hervey <bilboed@bilboed.com>
Mon, 30 Dec 2013 12:46:34 +0000 (13:46 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 30 Dec 2013 12:46:34 +0000 (13:46 +0100)
commit213596cc852df3dd3169d3ad50e6adb1184dc888
tree63e3492f08b800685ffa685183cea7b9aaee1456
parented59e06c57c6c6b6b03f197bdbf586e02c0f5904
riff-media: Fix array read

nbchannels ranges from 1 to 8, therefore use '- 1' to get the proper
array value.
gst-libs/gst/riff/riff-media.c