aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2020-11-02 21:31:35 +0100
committerTimo Rothenpieler <timo@rothenpieler.org>2020-11-03 18:17:35 +0100
commitd5763edab21b08cd1388a2f41885d11d61653917 (patch)
tree050b8f3df05743ec58928b34528e5bd7489a3136 /libavutil
parent1c430f60454acbf6f288058d971a44d6bb3d48e7 (diff)
downloadffmpeg-d5763edab21b08cd1388a2f41885d11d61653917.tar.gz
avutil/hwcontext_cuda: increase CUDA frame alignment to 512
At least on Turing, a frame without 512 byte alignment cannot be passed to cuTexObjectCreate.
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/hwcontext_cuda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext_cuda.c b/libavutil/hwcontext_cuda.c
index 718a449b6e..546515ee66 100644
--- a/libavutil/hwcontext_cuda.c
+++ b/libavutil/hwcontext_cuda.c
@@ -30,7 +30,7 @@
#include "pixfmt.h"
#include "imgutils.h"
-#define CUDA_FRAME_ALIGNMENT 256
+#define CUDA_FRAME_ALIGNMENT 512
typedef struct CUDAFramesContext {
int shift_width, shift_height;