[FFmpeg-devel] [PATCH] msvc: fix implicitly declared read/close.

Michael Niedermayer michaelni at gmx.at
Sat Aug 2 15:08:38 CEST 2014


On Sat, Aug 02, 2014 at 12:01:37PM +1000, Matt Oliver wrote:
> MSVC/ICL does not have unistd.h as standard and instead declares read/close
> functions in io.h. This is currently handled in some files but not in a
> couple. Adding an include for io.h where needed adds the correct
> declarations.

>  libavcodec/libxvid.c    |    4 ++++
>  libavcodec/libxvid_rc.c |    4 ++++
>  libavutil/random_seed.c |    3 +++
>  3 files changed, 11 insertions(+)
> 9df30ccc9f607fe515c1058f85e6f6bce0e07984  0001-msvc-fix-implicitly-declared-read-close.patch
> From a9df2f27cf88e5e2e0a518daaba41b1b9ce8bdcb Mon Sep 17 00:00:00 2001
> From: Matthew Oliver <protogonoi at gmail.com>
> Date: Sat, 2 Aug 2014 11:08:29 +1000
> Subject: [PATCH] msvc: fix implicitly declared read/close.

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140802/ad71ce47/attachment.asc>


More information about the ffmpeg-devel mailing list