avformat/avienc: assert that bits_per_coded_sample is within the supported range...
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 5 Mar 2016 17:18:07 +0000 (18:18 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 5 Mar 2016 17:18:07 +0000 (18:18 +0100)
commite0f5f9267a8bc104ec3cefe03873dd2508c46650
tree1f8a0a9cf7ccaad7bf613a88fa57bdf793f3d3b6
parent76019f5fed066f350fd8c9e55ec2c47ddb47f2a8
avformat/avienc: assert that bits_per_coded_sample is within the supported range (out of array access otherwise)

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