mpgatofixed32: check for invalid channels count
authorRafaël Carré <funman@videolan.org>
Sat, 19 Apr 2014 08:28:56 +0000 (10:28 +0200)
committerRafaël Carré <funman@videolan.org>
Sat, 19 Apr 2014 08:31:39 +0000 (10:31 +0200)
commita5bee4c5cf0c8fca0d1ddaf570aeebc78e824b15
tree4de5e2c6d11c4b9c7ea1a06c55041866e386af36
parente40a4a1a54be2b69e4e001451f0dd91f3857a976
mpgatofixed32: check for invalid channels count

Make sure the buffer was allocated with enough channels.
This should not happen anymore since transcode now restarts
filter chain on format changes.

Reported-by: William Blough <blough@shell.cs.fsu.edu>
(cherry picked from commit a113b849e428b71813a569021bd10d6974f6621f)
Signed-off-by: Rafaël Carré <funman@videolan.org>
modules/audio_filter/converter/mpgatofixed32.c