]> git.sesse.net Git - ffmpeg/commit
tiff: fix handling of metadata with refcounted frames
authorHendrik Leppkes <h.leppkes@gmail.com>
Wed, 13 Mar 2013 17:51:17 +0000 (18:51 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 13 Mar 2013 21:13:59 +0000 (22:13 +0100)
commitedcc51fb8e15b704955d742559215697598927bb
treee179ed0571f05bed18849e3bab693e4aaf80784e
parent0735b5088055896cb48574ad417b0cf796820d25
tiff: fix handling of metadata with refcounted frames

Since the conversion to refcounted frames, the tiff decoder
only wrote the metadata into its internal "picture" in its own context,
never exposing the metadata to the user, and eventually leaking the
metadata.

Instead, properly store the metadata directly into the frame being decoded into.

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