1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avcodec/utils: free last_pkt_props on avcodec_open2() failure

Regression since b34d1de8dc

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2021-03-03 18:05:15 -03:00
parent b34d1de8dc
commit 77ce903f7a

View File

@ -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);