projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d103d8
)
Build fix for HAVE_AVSUBTITLERECT_PICT case.
author
Carl Hetherington
<cth@carlh.net>
Sat, 20 Jan 2024 15:20:50 +0000
(16:20 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 20 Jan 2024 15:20:50 +0000
(16:20 +0100)
src/lib/ffmpeg_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_decoder.cc
b/src/lib/ffmpeg_decoder.cc
index dcad184fa81ea17ea3ddc5e4a0cdf7b9052984db..0d43156c0cdefd3fcd83842c47a0b8ef27bf916b 100644
(file)
--- a/
src/lib/ffmpeg_decoder.cc
+++ b/
src/lib/ffmpeg_decoder.cc
@@
-720,7
+720,7
@@
FFmpegDecoder::process_bitmap_subtitle (AVSubtitleRect const * rect)
/* sub_p looks up into a BGRA palette which is at rect->pict.data[1];
(i.e. first byte B, second G, third R, fourth A)
*/
- auto const palette = rect->pict.data[1];
+ auto const
*
palette = rect->pict.data[1];
#else
/* Start of the first line in the subtitle */
auto sub_p = rect->data[0];