smackerdemuxer: check some values before instead of just after malloc()
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 16 Dec 2011 01:57:22 +0000 (02:57 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Jan 2012 17:27:48 +0000 (18:27 +0100)
commit4af03698f30d40700f31fcc5f1fc3286c3dab406
treeed40ab02e15daec041e6238a0c9a3d6e18f9afc9
parent8af76473b355a6753e9107cea7ae5c8443a88fd9
smackerdemuxer: check some values before instead of just after malloc()
Fixes Ticket777
Bug Found by: Diana Elena Muscalu

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit c402c1c976dc5bd63908d1aaff5b60521cbbee92)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/smacker.c