summaryrefslogtreecommitdiff
path: root/libavformat/mmst.c
Commit message (Collapse)AuthorAge
* mmst: Use AVUNERROR() to convert error codes to the right range for strerrorMartin Storsjö2012-06-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: Add an URLProtocol flag for indicating that a protocol uses networkMartin Storsjö2012-01-05
| | | | | | | This definition is in two files, since the definitions will move to the private header at the next bump. Signed-off-by: Martin Storsjö <martin@martin.st>
* Fix a bunch of typos.Diego Biurrun2012-01-02
|
* proto: Realign struct initializersMartin Storsjö2011-12-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* proto: Use .priv_data_size to allocate the private contextMartin Storsjö2011-12-01
| | | | | | | | This simplifies the open functions by avoiding one function call that needs error checking, reducing the amount of extra bulk code. Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: add support for passing options to protocols.Anton Khirnov2011-11-13
| | | | | Not used anywhere yet, support for passing options from avio_open() will follow.
* avio: Add an AVIOInterruptCB parameter to ffurl_open/ffurl_allocMartin Storsjö2011-11-13
| | | | | Change all uses of these function to pass the relevant callback on.
* 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
|
* mmst: get rid of deprecated AVERRORsAnton Khirnov2011-04-06
|
* avio: make url_close() internal.Anton Khirnov2011-04-04
|
* avio: make url_write() internal.Anton Khirnov2011-04-04
|
* avio: make url_read_complete() internal.Anton Khirnov2011-04-04
|
* avio: make url_open() internal.Anton Khirnov2011-04-04
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: move init_put_byte() to a new private header and rename itAnton Khirnov2011-02-20
| | | | | | | init_put_byte should never be used outside of lavf, since sizeof(AVIOContext) isn't part of public ABI. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mmst: fix reading uninitialized data for ping packets.Ronald S. Bultje2011-02-14
| | | | | Fixes errors after a few minutes (first ping) when playing back mmst://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma
* mmst: print packet type with error status code messageFrancesco Cosoleto2011-02-13
| | | | | Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* 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.
* lavf: move ff_put_str16_nolen from asf to avio and rename itAnton Khirnov2011-01-21
| | | | | | It will be useful in the mp3 muxer. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Set proper error if server flags indicate that it doesn't support mmst. Thisqrtt12010-10-05
| | | | | | | | prevents a read-after-close-induced segfault later. Fixes issue 2266. Patch by qrtt1 <chingyichan dot tw gmail com>. Originally committed as revision 25349 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove use of MAX_STREAMS in MMSContext->streams[] array. Instead, dynamicallyRonald S. Bultje2010-08-13
| | | | | | allocate the array. Originally committed as revision 24794 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix wrong command prefix for timing test in MMST protocol.Zhentan Feng2010-08-13
| | | | | | Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24792 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move functions and structs shared between MMSH and MMST into their own file,Zhentan Feng2010-08-11
| | | | | | mms.c. Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24779 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extract fields that are to be shared between MMST/MMSH into a common struct,Zhentan Feng2010-08-11
| | | | | | | | MMSContext. The other MMST-specific members go into MMSTContext. Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24778 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use FFALIGN() in mmst.c where appropriate. Noticed by Benoit Fouet.Ronald S. Bultje2010-08-11
| | | | Originally committed as revision 24777 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move read_mms_packet() code to be inlined in the calling function.Zhentan Feng2010-08-04
| | | | | | Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24700 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove is_playing variable.Zhentan Feng2010-08-04
| | | | | | Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24699 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move send_media_packet_request() and clear_stream_buffers() up.Zhentan Feng2010-08-04
| | | | | | Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24698 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r24516.Ronald S. Bultje2010-07-26
| | | | Originally committed as revision 24517 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use inverse error branches, i.e. instead of if(something){success} else {error},Ronald S. Bultje2010-07-26
| | | | | | use if(!something) {return error;} success;, which needs less indenting. Originally committed as revision 24516 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_log(.., AV_LOG_ERROR) instead of dprintf() for logging errors. ThisRonald S. Bultje2010-07-26
| | | | | | | should help in making mmst a little more userfriendly, or at least debuggable. Also use helpful error return values instead of -1. Originally committed as revision 24515 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow the ASF header to be transferred split over multiple packets, as someZhentan Feng2010-07-20
| | | | | | | | | servers happen to do. For this, we also move several header-size-related variables to the MMSTContext. Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24363 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Explicitely set the size of the "ff_asf_head1_guid" header chunk, this isZhentan Feng2010-07-20
| | | | | | | | part of the spec and causes problems otherwise. Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24362 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Align outgoing messages to 8 bytes, this is required to interact withZhentan Feng2010-07-20
| | | | | | | | | most servers. Also remove a case where we manually aligned to 8 bytes, since this is now no longer needed. Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24360 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a compile warning when compiling with DEBUG=1. The warning was:Zhentan Feng2010-07-20
| | | | | | | | format ‘%d’ expects type ‘int’, but argument 3 has type ‘uint64_t’ Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24359 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check the status code of each server responses, and fail if it indicatesZhentan Feng2010-07-20
| | | | | | | | a problem. Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24358 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Send a time test to the server, as the spec recommends.Zhentan Feng2010-07-20
| | | | | | Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24357 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
* Fix missing logging context in a series of dprintf()s. Partially based onZhentan Feng2010-06-15
| | | | | | patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 23614 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MMS-over-TCP protocol support. Patch by Zhentan Feng <spyfeng gmail com>.Zhentan Feng2010-05-24
Originally committed as revision 23301 to svn://svn.ffmpeg.org/ffmpeg/trunk