[FFmpeg-devel] Patch for fixing of nvenc.c compilation using msvc tools

Hendrik Leppkes h.leppkes at gmail.com
Wed Sep 14 18:01:03 EEST 2016

On Wed, Sep 14, 2016 at 12:45 PM, Matt Oliver <protogonoi at gmail.com> wrote:
> On 14 September 2016 at 20:22, Yogender Kumar Gupta <
> yogender.gupta at gmail.com> wrote:
>> Currently libavcodec.c/nvenc.c is not compilable using MSVC tools. I am
>> attaching a patch that fixes this issue.
>> Thanks,
>> Yogender
> What version of msvc are you using? 2015 and 2013 all work fine currently
> so I assume this is with an older version. Since nvenc is currently enabled
> by default then this should have been picked up by FATE (which currently
> has not had this issue) and older versions of msvc rely on the c99
> converter which i would have thought should have properly handled that kind
> of code.

I can confirm that all my FATE stations do build the nvenc code, and
as such it has been tested on MSVC 2012, 2013 and 2015, both x86 and
Something must be up with your setup if it doesn't build this.

- Hendrik

More information about the ffmpeg-devel mailing list