From d37983580e2be567c1c007688b438fba80db10a3 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 25 Nov 2023 13:46:37 +0100 Subject: [PATCH] qtwebengine: missing gcc13 patch --- .../patches/qtwebengine-5.15.2.patchset | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/dev-qt/qtwebengine/patches/qtwebengine-5.15.2.patchset b/dev-qt/qtwebengine/patches/qtwebengine-5.15.2.patchset index 7f96fea40..b118f7dc9 100644 --- a/dev-qt/qtwebengine/patches/qtwebengine-5.15.2.patchset +++ b/dev-qt/qtwebengine/patches/qtwebengine-5.15.2.patchset @@ -19993,3 +19993,26 @@ index 350e2f1..f63264f 100644 -- 2.37.3 + +From 67096c0b7a180bee481c777ef5c7094a7063bd56 Mon Sep 17 00:00:00 2001 +From: Jerome Duval +Date: Sat, 25 Nov 2023 13:34:59 +0100 +Subject: gcc13 fix + + +diff --git a/src/3rdparty/chromium/third_party/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc b/src/3rdparty/chromium/third_party/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc +index 6725a3b..3732aac 100644 +--- a/src/3rdparty/chromium/third_party/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc ++++ b/src/3rdparty/chromium/third_party/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc +@@ -200,7 +200,7 @@ int32_t H264DecoderImpl::InitDecode(const VideoCodec* codec_settings, + // a pointer |this|. + av_context_->opaque = this; + +- AVCodec* codec = avcodec_find_decoder(av_context_->codec_id); ++ const AVCodec* codec = avcodec_find_decoder(av_context_->codec_id); + if (!codec) { + // This is an indication that FFmpeg has not been initialized or it has not + // been compiled/initialized with the correct set of codecs. +-- +2.37.3 +