History | View | Annotate | Download (23 KB)
Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
avio: move init_put_byte() to a new private header and rename it
init_put_byte should never be used outside of lavf, sincesizeof(AVIOContext) isn't part of public ABI.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
avio: rename ByteIOContext to AVIOContext.
mmst: fix reading uninitialized data for ping packets.
Fixes errors after a few minutes (first ping) when playing backmmst://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma
mmst: print packet type with error status code message
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Replace dprintf with av_dlog
dprintf clashes with POSIX.1-2008
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
This also lists the objects from those two libraries as internal (by addingthe ff_ prefix) so that they can then be hidden via linker scripts.
lavf: move ff_put_str16_nolen from asf to avio and rename it
It will be useful in the mp3 muxer.
Set proper error if server flags indicate that it doesn't support mmst. Thisprevents 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, dynamicallyallocate the array.
Originally committed as revision 24794 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix wrong command prefix for timing test in MMST protocol.
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,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,MMSContext. The other MMST-specific members go into MMSTContext.
Originally committed as revision 24778 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use FFALIGN in mmst.c where appropriate. Noticed by Benoit Fouet.
Originally committed as revision 24777 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move read_mms_packet() code to be inlined in the calling function.
Originally committed as revision 24700 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove is_playing variable.
Originally committed as revision 24699 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move send_media_packet_request() and clear_stream_buffers() up.
Originally committed as revision 24698 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reindent after r24516.
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},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. Thisshould 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 someservers happen to do. For this, we also move several header-size-relatedvariables to the MMSTContext.
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 ispart of the spec and causes problems otherwise.
Originally committed as revision 24362 to svn://svn.ffmpeg.org/ffmpeg/trunk
Align outgoing messages to 8 bytes, this is required to interact withmost servers. Also remove a case where we manually aligned to 8 bytes,since this is now no longer needed.
Originally committed as revision 24360 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix a compile warning when compiling with DEBUG=1. The warning was:format ‘%d’ expects type ‘int’, but argument 3 has type ‘uint64_t’
Originally committed as revision 24359 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check the status code of each server responses, and fail if it indicatesa problem.
Originally committed as revision 24358 to svn://svn.ffmpeg.org/ffmpeg/trunk
Send a time test to the server, as the spec recommends.
Originally committed as revision 24357 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make ff_url_split() public
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 onpatch 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>.
Originally committed as revision 23301 to svn://svn.ffmpeg.org/ffmpeg/trunk