git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b34d1de
)
avcodec/utils: free last_pkt_props on avcodec_open2() failure
author
James Almer
<jamrial@gmail.com>
Wed, 3 Mar 2021 21:05:15 +0000
(18:05 -0300)
committer
James Almer
<jamrial@gmail.com>
Wed, 3 Mar 2021 21:05:15 +0000
(18:05 -0300)
Regression since
b34d1de8dc
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/utils.c
patch
|
blob
|
history
diff --git
a/libavcodec/utils.c
b/libavcodec/utils.c
index
bc153c1
..
b8a8c0a
100644
(file)
--- 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);