[FFmpeg-devel] [PATCH] avdevice/opengl_enc: fix build error using msvc compiler

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Apr 10 13:42:48 EEST 2019


2019-04-09 17:22 GMT+02:00, BIGLER Don (Framatome) <don.bigler at framatome.com>:
>>2019-04-08 17:07 GMT+02:00, BIGLER Don (Framatome)
>> <don.bigler at framatome.com>:
>
>>> diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c
>>> index 54c7e610bd..4263f0e4ef 100644
>>> --- a/libavdevice/opengl_enc.c
>>> +++ b/libavdevice/opengl_enc.c
>>> @@ -25,7 +25,7 @@
>>> #include <stdio.h>
>>> #include <stdlib.h>
>>> #include <string.h>
>>> -#include <unistd.h>
>>> +#include <stdint.h>
>
>>Why is stdint needed?
>
>>Carl Eugen
>
> I was using other source files as an example. Apparently
> neither unistd nor stdint are required.

> The updated patch is attached.

Patch applied.

Thank you, Carl Eugen


More information about the ffmpeg-devel mailing list