]> git.sesse.net Git - ffmpeg/commit
avdevice/lavfi: Remove redundant av_packet_unref()
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 30 Aug 2020 05:12:47 +0000 (07:12 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 6 Sep 2020 19:45:41 +0000 (21:45 +0200)
commit5c2c35da12127a87cc33ed8d85305406a0e56801
tree3c443de35c629989175de925e95e29fd95856a62
parent26469aebd39e2cfba8c5c1918ac8d19af4d8ee18
avdevice/lavfi: Remove redundant av_packet_unref()

Since bae8844e35147f92e612a9e0b44e939a293e5bc9, the AVPacket that is
intended to be used to return the demuxed packet is automatically
unreferenced when the demuxer returns an error. This makes an
av_packet_unref() in the lavfi demuxer redundant.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavdevice/lavfi.c