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>
Sat, 30 Aug 2014 19:13:11 +0000 (21:13 +0200)
commit11a61dd0e2b51bdb610a80e322667c3284f6d761
tree5ea2ac609dba591bc19f976d37c94533cb952d68
parent5865d599c38850b2a1fd33fe197eb8fcc6c970a4
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>
(cherry picked from commit 52b81ff4635c077b2bc8b8d3637d933b6629d803)

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