libschroedingerdec: fix leaking of framewithpts
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Fri, 2 Dec 2016 21:52:44 +0000 (22:52 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 8 Dec 2016 20:53:58 +0000 (15:53 -0500)
commitdc2ad094931de2b28c63eaa5614756ed74e2579e
treec8ec078a4cad69afb804486260e401c9ab9d3be1
parent8c3a643808fc89c8003478ea952187cd9fe5d27a
libschroedingerdec: fix leaking of framewithpts

Also preserve the return value from ff_get_buffer().

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/libschroedingerdec.c