On Sat, Sep 05, 2020 at 01:17:13AM +0200, Andreas Rheinhardt wrote: > If encoding fails, the AVPacket that ought to contain the encoded packet > is already unreferenced generically. > > Signed-off-by: Andreas Rheinhardt <[email protected]> > --- > libavcodec/jpeglsenc.c | 1 - > 1 file changed, 1 deletion(-) >
lgtm > diff --git a/libavcodec/jpeglsenc.c b/libavcodec/jpeglsenc.c > index d05fe4564b..b1e54431e9 100644 > --- a/libavcodec/jpeglsenc.c > +++ b/libavcodec/jpeglsenc.c > @@ -431,7 +431,6 @@ FF_ENABLE_DEPRECATION_WARNINGS > return 0; > > memfail: > - av_packet_unref(pkt); > av_freep(&buf2); > av_freep(&state); > av_freep(&last); > -- > 2.20.1 > > _______________________________________________ > ffmpeg-devel mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
