]> git.sesse.net Git - ffmpeg/commit
avcodec/jpeglsenc: Remove redundant av_packet_unref()
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 3 Sep 2020 17:44:44 +0000 (19:44 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 5 Sep 2020 13:40:12 +0000 (15:40 +0200)
commit8821023b156496a27395e9c46b8b969512d1de63
treed1a4a395aad853dabf76509fd60ba83e9fe01106
parent4e012fc8afab9ab53a8dc693508409068af72ef9
avcodec/jpeglsenc: Remove redundant av_packet_unref()

If encoding fails, the AVPacket that ought to contain the encoded packet
is already unreferenced generically.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/jpeglsenc.c