Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
47514893 by Tristan Matthews at 2022-04-26T13:27:34+00:00
nvdec: guard against missing CUDA definition

- - - - -


1 changed file:

- modules/hw/nvdec/nvdec.c


Changes:

=====================================
modules/hw/nvdec/nvdec.c
=====================================
@@ -33,6 +33,10 @@
 #include "nvdec_fmt.h"
 #include "hw_pool.h"
 
+#ifndef CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT
+# define CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT 14
+#endif
+
 static int OpenDecoder(vlc_object_t *);
 static void CloseDecoder(vlc_object_t *);
 static int DecoderContextOpen(vlc_decoder_device *, vout_window_t *);



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/475148937da33fb72bc8b928aec8be3820cdea16

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/475148937da33fb72bc8b928aec8be3820cdea16
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to