truemotion2: Use av_freep properly in an error path
authorMartin Storsjö <martin@martin.st>
Mon, 16 Sep 2013 18:03:34 +0000 (21:03 +0300)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 7 Jan 2014 08:43:56 +0000 (09:43 +0100)
commit2ef84218b2921372aed5fcd06eb7edca3e39d01b
treec61b17cb20be85374d3d98c5ed7ffe34664f7372
parentb19eafa2b930ee40abfde6d1f026b7fa5591c4dc
truemotion2: Use av_freep properly in an error path

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit c39f7eba01cd656e8f0eed592f93d11814736650)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit eac1c3f384eab770d42468f4f244156c1735701d)
libavcodec/truemotion2.c