aboutsummaryrefslogtreecommitdiff
path: root/network/MEGAcmd/fix-ffmpeg-compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/MEGAcmd/fix-ffmpeg-compile.patch')
-rw-r--r--network/MEGAcmd/fix-ffmpeg-compile.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/network/MEGAcmd/fix-ffmpeg-compile.patch b/network/MEGAcmd/fix-ffmpeg-compile.patch
deleted file mode 100644
index daa9fd72fe08..000000000000
--- a/network/MEGAcmd/fix-ffmpeg-compile.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- a/src/gfx/freeimage.cpp 2023-03-03 22:13:58.000000000 +0000
-+++ b/src/gfx/freeimage.cpp 2023-03-14 10:03:10.950216675 +0000
-@@ -212,7 +212,7 @@
- #ifdef AV_CODEC_CAP_TRUNCATED
- #define CAP_TRUNCATED AV_CODEC_CAP_TRUNCATED
- #else
--#define CAP_TRUNCATED CODEC_CAP_TRUNCATED
-+#define CAP_TRUNCATED 0
- #endif
-
- const char *GfxProviderFreeImage::supportedformatsFfmpeg()
-@@ -313,7 +313,7 @@
-
- // Find decoder for video stream
- AVCodecID codecId = codecParm->codec_id;
-- AVCodec* decoder = avcodec_find_decoder(codecId);
-+ auto decoder = avcodec_find_decoder(codecId);
- if (!decoder)
- {
- LOG_warn << "Codec not found: " << codecId;
-@@ -330,7 +330,6 @@
-
- // Force seeking to key frames
- formatContext->seek2any = false;
-- videoStream->skip_to_keyframe = true;
- if (decoder->capabilities & CAP_TRUNCATED)
- {
- codecContext->flags |= CAP_TRUNCATED;
-