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>
Mon, 11 Jan 2016 17:58:08 +0000 (18:58 +0100)
commit59c915a403af32c4ff5126625b0cc7e38f4beff9
tree897412c5c4ee48b879fbd1cd00ece803c20101eb
parent26757b0279b4b93c6066c2151d4d3dbd2ec266bf
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>
libavcodec/wavpackenc.c