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 16:23:55 +0000 (17:23 +0100)
commit6d483543217fd0956977a2e5989a51966e7c14cf
tree8fd9902eb810958686e9499387b262d3dc5d8b73
parent60956a9dc86228f37197f3ffe35f2d9ceb105ed0
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