Statistics
| Branch: | Revision:

ffmpeg / libavformat / tcp.c @ d7fb5a18

History | View | Annotate | Download (5.04 KB)

# Date Author Comment
6ad1c9c9 09/26/2008 02:12 AM Baptiste Coudurier

only include sys/select.h if present, fix mingw compilation

Originally committed as revision 15420 to svn://svn.ffmpeg.org/ffmpeg/trunk

c75a0cce 09/24/2008 10:11 PM Baptiste Coudurier

include sys/select.h to get select, according to posix 2001,
fix compilation on freebsd 5.5

Originally committed as revision 15406 to svn://svn.ffmpeg.org/ffmpeg/trunk

f23a9759 08/24/2008 04:22 PM Ronald S. Bultje

Remove check for @ in tcp.c which removes the authorization data from the
actual hostname. This functionality already exists (and always existed) in
url_split() and is therefore useless. See discussion in "[PATCH] tcp.c/udp.c
memleak?" thread on ffmpeg-devel....

a3303add 08/23/2008 06:52 PM Ronald S. Bultje

Cosmetics after previous patches.

Originally committed as revision 14926 to svn://svn.ffmpeg.org/ffmpeg/trunk

8b9af28d 08/23/2008 06:49 PM Ronald S. Bultje

On failure, return directly because the fail: case does nothing. This also
allows easier control of the actual return value.

Originally committed as revision 14925 to svn://svn.ffmpeg.org/ffmpeg/trunk

47f944a2 08/23/2008 06:46 PM Ronald S. Bultje

Move malloc() down until after all initializations, so that the resource is
only allocated if initialization worked. This means that on failure, we
don't have to deallocate it.

Originally committed as revision 14924 to svn://svn.ffmpeg.org/ffmpeg/trunk

e6c13819 08/23/2008 05:39 PM Ronald S. Bultje

Fix memleak on some OSes in case network initialization fails. See
"[PATCH] tcp.c/udp.c memleak?" for discussion.

Originally committed as revision 14923 to svn://svn.ffmpeg.org/ffmpeg/trunk

ad33bfef 08/23/2008 05:39 PM Ronald S. Bultje

Remove useless comments. See "[PATCH] tcp.c/udp.c memleak?" for discussion.

Originally committed as revision 14922 to svn://svn.ffmpeg.org/ffmpeg/trunk

d78d72da 03/05/2008 03:29 PM Diego Biurrun

Set TCP protocol to is_streamed=1 as seeking is not possible.
Björn Axelsson, bjorn.axelsson intinor se

Originally committed as revision 12338 to svn://svn.ffmpeg.org/ffmpeg/trunk

087b3272 11/21/2007 04:33 PM Luca Abeni

Include os_support.h only when needed

Originally committed as revision 11073 to svn://svn.ffmpeg.org/ffmpeg/trunk

1642cb6b 08/09/2007 11:39 PM Ramiro Polla

Add initialization and cleanup functions for Winsock

Originally committed as revision 10040 to svn://svn.ffmpeg.org/ffmpeg/trunk

85060fe6 08/08/2007 12:08 PM Ramiro Polla

MinGW returns EAGAIN instead of EINPROGRESS

Originally committed as revision 9982 to svn://svn.ffmpeg.org/ffmpeg/trunk

6f3e0b21 07/19/2007 03:23 PM Panagiotis Issaris

Replace all occurrences of AVERROR_IO with AVERROR.

Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk

ba472aaf 04/27/2007 12:41 AM Alex Beregszaszi

implement ff_socket_nonblock and use it in networking code

Originally committed as revision 8846 to svn://svn.ffmpeg.org/ffmpeg/trunk

8da4034f 04/27/2007 12:35 AM Alex Beregszaszi

use ff_neterrno() and FF_NETERROR() for networking error handling

Originally committed as revision 8845 to svn://svn.ffmpeg.org/ffmpeg/trunk

383eda23 04/26/2007 06:04 PM Alex Beregszaszi

move resolve_host from tcp.c to os_support.c as it is used widely

Originally committed as revision 8834 to svn://svn.ffmpeg.org/ffmpeg/trunk

a33cc951 04/26/2007 06:00 PM Alex Beregszaszi

cosmetics in resolve_host

Originally committed as revision 8833 to svn://svn.ffmpeg.org/ffmpeg/trunk

b5cccea0 02/22/2007 01:34 PM Alex Beregszaszi

change PF_INET to AF_INET to be consistent in the whole project. PF_INET is deprecated, while AF_INET is referred by the POSIX standards

Originally committed as revision 8073 to svn://svn.ffmpeg.org/ffmpeg/trunk

8fa36ae0 02/13/2007 06:26 PM François Revol

This fixes error handling for BeOS, removing the need for some ifdefs.
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed....

42572ef5 02/04/2007 05:05 PM Ramiro Polla

move networking #includes into separate file
patch by Ramiro Polla angustia =a= arrozcru =d= no-ip =d= org

Originally committed as revision 7817 to svn://svn.ffmpeg.org/ffmpeg/trunk

95a47d96 01/21/2007 08:40 PM Ramiro Polla

BeOS cleanup
Patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Original thread:
date: Jan 20, 2007 8:56 PM
subject: [Ffmpeg-devel] [PATCH] [RFC] change socket read and write functions

Originally committed as revision 7613 to svn://svn.ffmpeg.org/ffmpeg/trunk

76375024 01/18/2007 11:23 PM Aurelien Jacobs

cosmetics: indentation

Originally committed as revision 7583 to svn://svn.ffmpeg.org/ffmpeg/trunk

e9d511dc 01/18/2007 05:22 PM François Revol

The long awaited BeOS cleanup, phase 1

Originally committed as revision 7581 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

e2a5fd20 02/02/2006 01:07 PM Michael Niedermayer

os2 thread, network and freetype2 support by (Paul Smedley | paulat a t smedleydot d o t info)

Originally committed as revision 4922 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

01cf54f0 05/09/2005 10:48 AM Diego Biurrun

Mac OS X 10.4 compilation fix by Steven M. Schultz <sms at 2BSD dot COM>

Originally committed as revision 4207 to svn://svn.ffmpeg.org/ffmpeg/trunk

88730be6 02/24/2005 07:08 PM Måns Rullgård

kill warnings patch by (Måns Rullgård <mru inprovide com>)

Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk

6ba5cbc6 08/12/2004 12:09 AM Petr Doubek

HTTP Authentication Patch by (Petr Doubek <doubek at vision dot ee dot ethz dot ch>)
tested and submitted by (Torsten Spindler <spindler at hbt dot arch dot ethz dot ch>)

Originally committed as revision 3381 to svn://svn.ffmpeg.org/ffmpeg/trunk

0bd586c5 06/19/2004 03:59 AM Mike Melanson

sweeping change from -EIO -> AVERROR_IO

Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk

b51469a0 03/14/2004 07:40 PM Leon van Stuivenberg

tcp select() check and enables pressing 'q' when reading/(writing) from
tcp/http in ffmpeg.c patch by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>)

Originally committed as revision 2891 to svn://svn.ffmpeg.org/ffmpeg/trunk

9eef2b77 03/14/2004 02:59 AM Michael Niedermayer

no read loop tcp/http and http CRLF fix by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>)

Originally committed as revision 2885 to svn://svn.ffmpeg.org/ffmpeg/trunk

6c8e0d4d 09/29/2003 01:41 AM Philip Gladstone

Fix a very nasty problem with extra bytes appearing in TCP data streams.
Whenever there was an EINTR/EAGAIN return, then a byte in the data stream
would be duplicated!! This fix should allow ffserver to work again.

Originally committed as revision 2317 to svn://svn.ffmpeg.org/ffmpeg/trunk

4358d5de 09/08/2003 08:04 PM Fabrice Bellard

removed ctype.h header

Originally committed as revision 2225 to svn://svn.ffmpeg.org/ffmpeg/trunk

438fcb75 07/24/2003 01:30 PM François Revol

OSX and BeOS networking fix (socklen_t)

Originally committed as revision 2077 to svn://svn.ffmpeg.org/ffmpeg/trunk

09787fb8 07/17/2003 10:28 AM Fabrice Bellard

support aborting in TCP

Originally committed as revision 2061 to svn://svn.ffmpeg.org/ffmpeg/trunk

0c1a9eda 02/11/2003 04:35 PM Zdenek Kabelac
  • UINTX -> uintx_t INTX -> intx_t

Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk

abac6175 11/25/2002 07:07 PM Fabrice Bellard

renamed libav to libavformat

Originally committed as revision 1276 to svn://svn.ffmpeg.org/ffmpeg/trunk