avcodec/aacps: Check border_position to be monotone
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 May 2017 18:46:16 +0000 (20:46 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 28 May 2017 01:07:02 +0000 (03:07 +0200)
commitfe8c9420dd5bbc7a0c545e479da9118bcf311dd2
tree1a78171be10b92c807c3f991b8f9289ebaf8e362
parent15bd309af8302661838150de1905acc4df386d19
avcodec/aacps: Check border_position to be monotone

Fixes: runtime error: left shift of negative value -67108864
Fixes: 1738/clusterfuzz-testcase-minimized-6734814327603200

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacps.c