zerocodec: Fix memleak in decode_frame
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Sat, 4 Aug 2012 02:13:43 +0000 (22:13 -0400)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Sat, 4 Aug 2012 19:11:06 +0000 (15:11 -0400)
commit616fd4fe5e2985f31e2ae1aee0558e73390437a0
treef745134b3798c17890e59379b24a8045b653c692
parent29facc1e916c4be0324b41634c1d0b8c5fd31fa8
zerocodec: Fix memleak in decode_frame

If there was a failure inflating, or reinitializing
the zstream, the current frame's buffer would be lost.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/zerocodec.c