]> git.sesse.net Git - ffmpeg/commit
avfilter/src_movie: Fix leak of packet upon error
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 10 Sep 2020 01:14:39 +0000 (03:14 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 10 Sep 2020 20:25:34 +0000 (22:25 +0200)
commitd91756c1b5fa70095e55d34ded6d6085bfd56bd4
tree24c152fdea1f5952e53fec3adcb00d304394b9c4
parent41e0058b48fc192aaa7b97a58636f4784b93b6fd
avfilter/src_movie: Fix leak of packet upon error

If allocating the AVFrame to contain a decoded frame fails, the AVPacket
containing the data intended to be decoded leaks. This commit fixes
this.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavfilter/src_movie.c