[FFmpeg-devel] [PATCH 2/2] lavf: replace ETIMEDOUT by AVERROR_TIMEOUT

Michael Niedermayer michaelni at gmx.at
Thu Sep 6 00:37:12 CEST 2012


On Tue, Sep 04, 2012 at 05:29:51PM +0200, Michael Niedermayer wrote:
> ETIMEDOUT is not available on all systems and defining it in an internal
> header to something does not help external applications interpreting the
> error code. Thus its better we use our own error code, that can be used
> everywhere.
> 
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  libavformat/avio.c    |    2 +-
>  libavformat/network.c |    2 +-
>  libavformat/rtsp.c    |    2 +-
>  libavformat/rtspdec.c |    2 +-
>  libavformat/tcp.c     |    4 ++--
>  5 files changed, 6 insertions(+), 6 deletions(-)

simpler solution posted

[...]
-- 
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: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120906/d35b9860/attachment.asc>


More information about the ffmpeg-devel mailing list