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>
Fri, 13 Sep 2013 13:27:55 +0000 (15:27 +0200)
commit26589aa81028f42c763c5581a1486a271799890b
treea46eecf915805f7efccb8980eb545ff1d57813fd
parentc6942a4b037476ca097036e99bb509b5e5d59128
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.c