From 500d57ac9f75534f5b378e981b82c3c06a11ec28 Mon Sep 17 00:00:00 2001 From: Jernej Skrabec Date: Tue, 23 Jun 2020 00:07:02 +0200 Subject: [PATCH] comskip: fix compilation with gcc10 --- .../Comskip-0001-Fix-compilation-with-gcc10.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/addons/addon-depends/comskip/patches/Comskip-0001-Fix-compilation-with-gcc10.patch diff --git a/packages/addons/addon-depends/comskip/patches/Comskip-0001-Fix-compilation-with-gcc10.patch b/packages/addons/addon-depends/comskip/patches/Comskip-0001-Fix-compilation-with-gcc10.patch new file mode 100644 index 0000000000..d251743d7b --- /dev/null +++ b/packages/addons/addon-depends/comskip/patches/Comskip-0001-Fix-compilation-with-gcc10.patch @@ -0,0 +1,12 @@ +diff --git a/mpeg2dec.c b/mpeg2dec.c +index 3013dc1..5b79227 100755 +--- a/mpeg2dec.c ++++ b/mpeg2dec.c +@@ -161,7 +161,6 @@ int64_t pev_best_effort_timestamp = 0; + + int video_stream_index = -1; + int audio_stream_index = -1; +-int width, height; + int have_frame_rate ; + int stream_index; +