diff options
author | James Almer <jamrial@gmail.com> | 2021-03-03 18:05:15 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-03-03 18:05:15 -0300 |
commit | 77ce903f7ad2619fb3f420fd3e7f7b778dcb7704 (patch) | |
tree | a658f90b7daf18d4658fe6c1c966915dbfc45a31 /libavcodec/utils.c | |
parent | b34d1de8dc64466aea226183bd8701fa8bf95788 (diff) | |
download | ffmpeg-77ce903f7ad2619fb3f420fd3e7f7b778dcb7704.tar.gz |
avcodec/utils: free last_pkt_props on avcodec_open2() failure
Regression since b34d1de8dc
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index bc153c1abd..b8a8c0ac2e 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1077,6 +1077,7 @@ FF_ENABLE_DEPRECATION_WARNINGS #endif av_frame_free(&avci->buffer_frame); av_packet_free(&avci->buffer_pkt); + av_packet_free(&avci->last_pkt_props); av_fifo_freep(&avci->pkt_props); av_packet_free(&avci->ds.in_pkt); |