kgv1: use avctx->get/release_buffer().
authorRonald S. Bultje <rsbultje@gmail.com>
Thu, 29 Dec 2011 17:07:32 +0000 (09:07 -0800)
committerReinhard Tartler <siretart@tauware.de>
Sun, 1 Apr 2012 16:33:29 +0000 (18:33 +0200)
commitcb8a17ddaccdbbe47748ba7ac4ce7303e47732fe
tree12f724ebeb6117ba57b27ad097098f9db72b6eba
parent24eabc53bae467cfe57e2c24dee0f33e11e697a1
kgv1: use avctx->get/release_buffer().

Also fixes crashes on corrupt bitstreams.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 33cd32b389864f2437c94e6fd7dc109ff5f0ed06)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit e537dc230b2e123be8aebdaeee5a7d7787328b0b)

Conflicts:

libavcodec/kgv1dec.c
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/kgv1dec.c