vsrc_movie: fix leak in request_frame()
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 18 Apr 2011 17:21:25 +0000 (19:21 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 26 Apr 2011 05:42:56 +0000 (07:42 +0200)
commit5eb901cfec4a1bca4d961c6eb6889a91a87031ca
tree422490a20b88ecdd18cebeee166bb668114b01ac
parent10d39405fa82473367e1ba1ed3c4ecbeca2a7986
vsrc_movie: fix leak in request_frame()

Also set movie->picref to NULL, in order to avoid a crash in uninit()
when movie->picref is unreffed again and it was already freed.

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavfilter/vsrc_movie.c