summaryrefslogtreecommitdiffstats
path: root/network/MEGAcmd/megacmd-1.7.0_ffmpeg4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/MEGAcmd/megacmd-1.7.0_ffmpeg4.patch')
-rw-r--r--network/MEGAcmd/megacmd-1.7.0_ffmpeg4.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/network/MEGAcmd/megacmd-1.7.0_ffmpeg4.patch b/network/MEGAcmd/megacmd-1.7.0_ffmpeg4.patch
new file mode 100644
index 0000000000..78caff0b98
--- /dev/null
+++ b/network/MEGAcmd/megacmd-1.7.0_ffmpeg4.patch
@@ -0,0 +1,11 @@
+--- a/sdk/src/gfx/freeimage.cpp 2024-05-23 06:07:49.544014882 +0900
++++ b/sdk/src/gfx/freeimage.cpp 2024-05-23 06:12:29.575018194 +0900
+@@ -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()