avcodec/wavpackenc: Check the number of channels
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 11 Jan 2016 17:58:08 +0000 (18:58 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 15 Jan 2016 15:00:31 +0000 (16:00 +0100)
commit858f43043f74278cb8f4f9967a1177348a528ca0
tree69f8c0c2bd84996fa7bb94c3a949777ce1afd3cb
parentd0fd9bec1f8d7055c5036935d9a8d3a8e4a69566
avcodec/wavpackenc: Check the number of channels

They are stored in a byte, thus more than 255 is not possible

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 59c915a403af32c4ff5126625b0cc7e38f4beff9)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/wavpackenc.c