[FFmpeg-devel] [PATCH 1/2] cuda_runtime.h: Correct ushort4 to use ushort.

Matt Oliver protogonoi at gmail.com
Fri Feb 12 17:58:25 EET 2021


---
 compat/cuda/cuda_runtime.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compat/cuda/cuda_runtime.h b/compat/cuda/cuda_runtime.h
index 0bf3de85d3..c5450b2542 100644
--- a/compat/cuda/cuda_runtime.h
+++ b/compat/cuda/cuda_runtime.h
@@ -73,7 +73,7 @@ typedef struct __device_builtin__ __align__(4) uchar4

 typedef struct __device_builtin__ __align__(8) ushort4
 {
-    unsigned char x, y, z, w;
+    unsigned short x, y, z, w;
 } ushort4;

 typedef struct __device_builtin__ __align__(16) int4
-- 
2.30.0.windows.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cuda_runtime.h-Correct-ushort4-to-use-ushort.patch
Type: application/octet-stream
Size: 763 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210213/ca2de1a8/attachment.obj>


More information about the ffmpeg-devel mailing list