diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-01-20 16:20:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-20 16:20:50 +0100 |
| commit | a7b6fe096f6072c97a1174cc2b8945fa9486fc4f (patch) | |
| tree | 8ff6b9d092a50ab57d28f96ab63d5cab9890bbf0 | |
| parent | 3d103d857be63c5852c0adb737769e566faa498d (diff) | |
Build fix for HAVE_AVSUBTITLERECT_PICT case.
| -rw-r--r-- | src/lib/ffmpeg_decoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index dcad184fa..0d43156c0 100644 --- 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]; |
