projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
278d725
)
Add missing avsubtitle_free().
author
Carl Hetherington
<cth@carlh.net>
Sun, 12 Sep 2021 20:43:38 +0000
(22:43 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 12 Sep 2021 23:22:00 +0000
(
01:22
+0200)
src/lib/ffmpeg_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_decoder.cc
b/src/lib/ffmpeg_decoder.cc
index 31fbde773b3ab86df610edb9eb801141a48e9a11..3202dcd3e7b11750213ef0284fa584e198b382d5 100644
(file)
--- a/
src/lib/ffmpeg_decoder.cc
+++ b/
src/lib/ffmpeg_decoder.cc
@@
-634,6
+634,7
@@
FFmpegDecoder::decode_and_process_subtitle_packet (AVPacket* packet)
if (sub.num_rects <= 0) {
/* Nothing new in this subtitle */
+ avsubtitle_free (&sub);
return;
}