]> git.sesse.net Git - ffmpeg/commit
avfilter/vf_uspp: Fix leak of packet side data
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 12 Mar 2021 14:07:33 +0000 (15:07 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 12 Mar 2021 18:05:37 +0000 (19:05 +0100)
commit6e2db67801c9975fae6f55c40f615d87b9a74a15
tree832c9f5105d4cd8ad75fdf0c7f547dfb7cee52ea
parent0858853241925d0a45f58a4724f203d284a70f00
avfilter/vf_uspp: Fix leak of packet side data

The uspp filter uses a special option ("no_bitstream") of
the Snow encoder to suppress it from generating output.
The filter therefore did not unref the packet after usage,
believing it to be blank. But this is wrong, as the Snow encoder
attaches quality stats side data to the packet.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavfilter/vf_uspp.c