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

BIGLER Don (Framatome) don.bigler at framatome.com
Tue Apr 9 18:22:16 EEST 2019


>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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avdevice-opengl_enc-fix-build-error-using-msvc-compi.patch
Type: application/octet-stream
Size: 630 bytes
Desc: 0001-avdevice-opengl_enc-fix-build-error-using-msvc-compi.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190409/8044cc7b/attachment.obj>


More information about the ffmpeg-devel mailing list