From a7b6fe096f6072c97a1174cc2b8945fa9486fc4f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 20 Jan 2024 16:20:50 +0100 Subject: [PATCH] Build fix for HAVE_AVSUBTITLERECT_PICT case. --- src/lib/ffmpeg_decoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.30.2