summaryrefslogtreecommitdiff
path: root/libavformat/rtpproto.c
Commit message (Collapse)AuthorAge
* rtpdec: Add ff_ prefix to all nonstatic symbolsMartin Storsjö2011-10-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtp: remove disabled codeDiego Biurrun2011-07-21
|
* Use av_printf_format to check the usage of printf style functionsMartin Storsjö2011-06-23
| | | | | | | | This helps catching cases where the format string doesn't match what is passed in, or injection bugs where user data is passed in as format string. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpproto: Remove an unused variableMartin Storsjö2011-05-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbolsStefano Sabatini2011-04-19
| | | | | | | | 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.
* lavf: use designated initializers for all protocolsAnton Khirnov2011-04-08
| | | | | This is more readable and makes it easier to reorder URLProtocol members.
* avio: AVIO_ prefixes for URL_ open flags.Anton Khirnov2011-04-07
|
* avio: deprecate url_max_packet_size().Anton Khirnov2011-04-04
| | | | URLContext.max_packet_size should be used directly.
* avio: make url_get_file_handle() internal.Anton Khirnov2011-04-04
|
* avio: make url_close() internal.Anton Khirnov2011-04-04
|
* avio: make url_write() internal.Anton Khirnov2011-04-04
|
* avio: make url_open() internal.Anton Khirnov2011-04-04
|
* avio: make udp_set_remote_url/get_local_port internal.Anton Khirnov2011-03-23
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Use AVERROR_EXIT with url_interrupt_cb.Nicolas George2011-03-15
| | | | | | | | | | | | | 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>
* libavformat: Remove FF_NETERRNO()Martin Storsjö2011-02-23
| | | | | | | | | | | | | | 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>
* Move find_info_tag to lavu and add av_ prefix to itAnton Khirnov2011-02-17
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* os: replace select with pollLuca Barbato2011-01-28
| | | | | Select has limitations on the fd values it could accept and silently breaks when it is reached.
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | 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.
* rtpproto: Allow specifying the connect option, passed through to udpMartin Storsjö2011-01-06
| | | | | | | | 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
* drop rtp_get_file_handles() which is not part of public API and not used anymoreAurelien Jacobs2010-10-23
| | | | Originally committed as revision 25556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* drop rtp_get_local_port() which is not part of public API and not used anymoreAurelien Jacobs2010-10-23
| | | | Originally committed as revision 25555 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpproto: Use a sockaddr_storage instead of a sockaddr_in with recvfromMartin Storsjö2010-09-27
| | | | Originally committed as revision 25224 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add rtp_get_rtcp_file_handle functionJosh Allmann2010-08-25
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24929 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtp: Replace hardcoded RTCP packet types with definesJosh Allmann2010-08-25
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix misspelled parameter names in Doxygen documentation.Diego Biurrun2010-07-02
| | | | | | This fixes one Doxygen warning each. Originally committed as revision 23970 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_url_split() publicMåns Rullgård2010-06-27
| | | | | | | 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
* Declare the url_write buffer parameter as constMartin Storsjö2010-06-01
| | | | Originally committed as revision 23401 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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
* Make rtp protocol obey rfc3550Luca Barbato2010-04-19
| | | | Originally committed as revision 22906 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't report EINTR from select as an error, retry select insteadMartin Storsjö2010-03-26
| | | | Originally committed as revision 22694 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move ff_url_split() and ff_url_join() declarations to internal.hAurelien Jacobs2010-03-14
| | | | | | those functions are not part of the public API Originally committed as revision 22534 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Using struct timeval requires sys/time.h, fixes compilation on some OSesDave Yeo2010-03-10
| | | | | | Patch by Dave Yeo, daveryeo at telus dot net Originally committed as revision 22425 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentMartin Storsjö2010-03-08
| | | | Originally committed as revision 22322 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename url_split to ff_url_splitMartin Storsjö2010-03-08
| | | | | | 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
* Use ff_url_join for assembling URLs, instead of snprintfMartin Storsjö2010-03-05
| | | | | | | | | 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
* Return from rtp_read when select returns an errorMartin Storsjö2010-03-05
| | | | Originally committed as revision 22219 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check url_interrupt_cb in rtp_read, wait in select for max 100 ms before ↵Martin Storsjö2010-03-04
| | | | | | rechecking url_interrupt_cb Originally committed as revision 22209 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Include rtpdec.h, it contains prototypes for the following functions:Carl Eugen Hoyos2010-02-28
| | | | | | rtp_set_remote_url(), rtp_get_local_port(), rtp_get_file_handles() Originally committed as revision 22107 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add url_get_file_handle(), which is used to get the file descriptorRonald S. Bultje2009-03-03
| | | | | | | | | | | 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
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | 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
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Surround '#include <sys/select>' by HAVE_SYS_SELECT_H.Kurtnoise2008-08-14
| | | | | | patch by Kurtnoise, kurtnoise free fr Originally committed as revision 14756 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add needed include, make it compile without -D_BSD_SOURCE.Michael Niedermayer2008-08-12
| | | | Originally committed as revision 14718 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cleanup comments and make them doxygen parsable.Luca Barbato2008-04-15
| | | | Originally committed as revision 12841 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Expose max_packet_size from the rtp protocolLuca Barbato2008-04-15
| | | | Originally committed as revision 12839 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the "multicast=" tag from UDP and RTP URLsLuca Abeni2008-04-15
| | | | Originally committed as revision 12830 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add #include "os_support.h" to restore OS/2 support.Dave Yeo2007-11-27
| | | | | | patch by Dave Yeo, daveryeo telus net Originally committed as revision 11096 to svn://svn.ffmpeg.org/ffmpeg/trunk