westwood_vqa: do not free extradata on error in read_header
authorLuca Barbato <lu_zero@gentoo.org>
Thu, 27 Jun 2013 02:30:20 +0000 (04:30 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 24 Aug 2013 09:28:10 +0000 (11:28 +0200)
commite7800543fe804dde114e4d86d7ab053a5b5516da
tree90e4da3b66cfd23e6f6036ef6f22805ec3dfbe17
parentfb1823e17807294ba0ab89b28f744ba73856009f
westwood_vqa: do not free extradata on error in read_header

The extradata is already freed by avformat_open_input on
failure.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 76f5dfbfd902178df4a38221a68dc8540189345a)

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/westwood_vqa.c