[FFmpeg-trac] #9019(avfilter:new): CUDA Compile Broken Using MSVC

FFmpeg trac at avcodec.org
Fri Dec 4 00:14:39 EET 2020


#9019: CUDA Compile Broken Using MSVC
----------------------------------+--------------------------------------
             Reporter:  dbigler   |                     Type:  defect
               Status:  new       |                 Priority:  critical
            Component:  avfilter  |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 The following commit breaks the CUDA build using the MSVC compiler:
 http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=cfdddec0c832a67da8a0081a32ae2c7127ce2368

 Using MSVC 2015 generates the following error:
 libavfilter/vf_scale_cuda_bicubic.ptx.c(1925): fatal error C1091: compiler
 limit: string exceeds 65535 bytes in length

 Using MSVC 2019 the following error is generated:
 libavfilter/vf_scale_cuda_bicubic.ptx.c(2818): fatal error C1060: compiler
 is out of heap space

 It looks like an alternate method for converting the ptx contents to const
 char [] needs to be implemented such that a string literal is not used
 like a const char [] assigned an array of integers.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9019>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list