[x265] [PATCH] Fix conversion warning on strPoolSize
Pavan Tarun Chakka Venkata
pavan.tarun at multicorewareinc.com
Thu Nov 21 10:14:14 UTC 2024
>From a2b936b3140ca028ec192ae662b64395a3d1d04b Mon Sep 17 00:00:00 2001
From: Min Chen <chenm003 at 163.com>
Date: Sun, 17 Nov 2024 21:43:03 -0800
Subject: [PATCH] Fix conversion warning on strPoolSize
---
source/x265.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/x265.cpp b/source/x265.cpp
index 357f5d6ea..110f44b63 100644
--- a/source/x265.cpp
+++ b/source/x265.cpp
@@ -207,7 +207,7 @@ static bool parseAbrConfig(FILE* abrConfig, CLIOptions
cliopt[], uint8_t numEnco
{
argv[argc] = strPool;
strPool += strlen(token) + 1;
- strPoolSize -= strlen(token) + 1;
+ strPoolSize -= (int)strlen(token) + 1;
strcpy(argv[argc], token);
token = strtok(NULL, " ");
argc++;
--
2.41.0.windows.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20241121/fc602a31/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Fix-conversion-warning-on-strPoolSize.patch
Type: application/octet-stream
Size: 812 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20241121/fc602a31/attachment.obj>
More information about the x265-devel
mailing list