proresenc_kostya: report buffer overflow
authorChristophe Gisquet <christophe.gisquet@gmail.com>
Mon, 11 Aug 2014 22:06:08 +0000 (22:06 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 11 Aug 2014 22:46:37 +0000 (00:46 +0200)
commit52b81ff4635c077b2bc8b8d3637d933b6629d803
tree0f6b5d9b1c3b1b64b20c49982ad29201f0733087
parentbf10f09bccdcfdb41b9f5bbae01d55961bfd0693
proresenc_kostya: report buffer overflow

If the allocated size, despite best efforts, is too small, exit
with the appropriate error.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/proresenc_kostya.c