]> git.sesse.net Git - ffmpeg/commit
lavc/decode_video(): always unref the frame if there is no output in decode_video
authorAnton Khirnov <anton@khirnov.net>
Fri, 29 Nov 2013 19:20:20 +0000 (20:20 +0100)
committerAnton Khirnov <anton@khirnov.net>
Mon, 9 Dec 2013 07:44:34 +0000 (08:44 +0100)
commita1ee1648690726b34e98eaf8db04fd7b3303cfc8
treea26fcbd441a7a9c8cfe135f4639756f49344bcdd
parent85f947aefb3dae81f65f518acdffa8e31c679654
lavc/decode_video(): always unref the frame if there is no output in decode_video

Not just on failure. This is the same thing that is done in the audio
path and should prevent leaks in decoders that allocate a frame, but
then end up not writing into it.
libavcodec/utils.c