aboutsummaryrefslogtreecommitdiff
path: root/libavformat/rtpproto.c
AgeCommit message (Collapse)Author
2011-05-09rtpproto: Remove an unused variableMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-19avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbolsStefano Sabatini
Make AVIO_FLAG_ access constants work as flags, and in particular fix the behavior of functions (such as avio_check()) which expect them to be flags rather than modes. This breaks API.
2011-04-08lavf: use designated initializers for all protocolsAnton Khirnov
This is more readable and makes it easier to reorder URLProtocol members.
2011-04-07avio: AVIO_ prefixes for URL_ open flags.Anton Khirnov
2011-04-04avio: deprecate url_max_packet_size().Anton Khirnov
URLContext.max_packet_size should be used directly.
2011-04-04avio: make url_get_file_handle() internal.Anton Khirnov
2011-04-04avio: make url_close() internal.Anton Khirnov
2011-04-04avio: make url_write() internal.Anton Khirnov
2011-04-04avio: make url_open() internal.Anton Khirnov
2011-03-23avio: make udp_set_remote_url/get_local_port internal.Anton Khirnov
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-15Use AVERROR_EXIT with url_interrupt_cb.Nicolas George
Functions interrupted by url_interrupt_cb should not be restarted. Therefore using AVERROR(EINTR) was wrong, as it did not allow to distinguish when the underlying system call was interrupted and actually needed to be restarted. This fixes roundup issues 2657 and 2659 (ffplay not exiting for streamed content). Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-23libavformat: Remove FF_NETERRNO()Martin Storsjö
Map EAGAIN and EINTR from ff_neterrno to the normal AVERROR() error codes. Provide fallback definitions of other errno.h network errors, mapping them to the corresponding winsock errors. This eases catching these error codes in common code, without having to distinguish between FF_NETERRNO(EAGAIN) and AVERROR(EAGAIN). This fixes roundup issue 2614, unbreaking blocking network IO on windows. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-17Move find_info_tag to lavu and add av_ prefix to itAnton Khirnov
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-01-28os: replace select with pollLuca Barbato
Select has limitations on the fd values it could accept and silently breaks when it is reached.
2011-01-26Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò
This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
2011-01-06rtpproto: Allow specifying the connect option, passed through to udpMartin Storsjö
By calling connect on the UDP socket, only packets from the chosen peer address and port are received on the socket. This is one solution to issue 1688. Originally committed as revision 26244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-23drop rtp_get_file_handles() which is not part of public API and not used anymoreAurelien Jacobs
Originally committed as revision 25556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-23drop rtp_get_local_port() which is not part of public API and not used anymoreAurelien Jacobs
Originally committed as revision 25555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-27rtpproto: Use a sockaddr_storage instead of a sockaddr_in with recvfromMartin Storsjö
Originally committed as revision 25224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-25Add rtp_get_rtcp_file_handle functionJosh Allmann
Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-25rtp: Replace hardcoded RTCP packet types with definesJosh Allmann
Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02Fix misspelled parameter names in Doxygen documentation.Diego Biurrun
This fixes one Doxygen warning each. Originally committed as revision 23970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27Make ff_url_split() publicMåns Rullgård
ff_url_split() is retained as an alias, as it was used by ffserver, to avoid breaking ABI compatibility with it. Originally committed as revision 23822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01Declare the url_write buffer parameter as constMartin Storsjö
Originally committed as revision 23401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20Remove explicit filename from Doxygen @file commands.Diego Biurrun
Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19Make rtp protocol obey rfc3550Luca Barbato
Originally committed as revision 22906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-26Don't report EINTR from select as an error, retry select insteadMartin Storsjö
Originally committed as revision 22694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-14move ff_url_split() and ff_url_join() declarations to internal.hAurelien Jacobs
those functions are not part of the public API Originally committed as revision 22534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10Using struct timeval requires sys/time.h, fixes compilation on some OSesDave Yeo
Patch by Dave Yeo, daveryeo at telus dot net Originally committed as revision 22425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08ReindentMartin Storsjö
Originally committed as revision 22322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08Rename url_split to ff_url_splitMartin Storsjö
Since this function isn't in the public API, it should have an ff_ prefix. Originally committed as revision 22321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-05Use ff_url_join for assembling URLs, instead of snprintfMartin Storsjö
This ensures proper escaping of numerical IPv6 addresses. The RTSP (de)muxer needs its own network initialization, since it isn't a protocol and url_open hasn't been called yet. Originally committed as revision 22226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-05Return from rtp_read when select returns an errorMartin Storsjö
Originally committed as revision 22219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-04Check url_interrupt_cb in rtp_read, wait in select for max 100 ms before ↵Martin Storsjö
rechecking url_interrupt_cb Originally committed as revision 22209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-28Include rtpdec.h, it contains prototypes for the following functions:Carl Eugen Hoyos
rtp_set_remote_url(), rtp_get_local_port(), rtp_get_file_handles() Originally committed as revision 22107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03Add url_get_file_handle(), which is used to get the file descriptorRonald S. Bultje
associated with the I/O handle (e.g. the fd returned by open()). See "[RFC] rtsp.c EOF support" thread. There were previously some URI-specific implementations of the same idea, e.g. rtp_get_file_handles() and udp_get_file_handle(). All of these are deprecated by this patch and will be removed at the next major API bump. Originally committed as revision 17779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01Use full internal pathname in doxygen @file directives.Diego Biurrun
Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs
They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14Surround '#include <sys/select>' by HAVE_SYS_SELECT_H.Kurtnoise
patch by Kurtnoise, kurtnoise free fr Originally committed as revision 14756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12Add needed include, make it compile without -D_BSD_SOURCE.Michael Niedermayer
Originally committed as revision 14718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09Use full path for #includes from another directory.Diego Biurrun
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-15Cleanup comments and make them doxygen parsable.Luca Barbato
Originally committed as revision 12841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-15Expose max_packet_size from the rtp protocolLuca Barbato
Originally committed as revision 12839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-15Remove the "multicast=" tag from UDP and RTP URLsLuca Abeni
Originally committed as revision 12830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27Add #include "os_support.h" to restore OS/2 support.Dave Yeo
patch by Dave Yeo, daveryeo telus net Originally committed as revision 11096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19Replace all occurrences of AVERROR_IO with AVERROR(EIO).Panagiotis Issaris
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24remove duplicate #includeMåns Rullgård
Originally committed as revision 9413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24more av_strl* adjustmentsReimar Döffinger
Originally committed as revision 9412 to svn://svn.ffmpeg.org/ffmpeg/trunk