Use AVERROR_EXIT with url_interrupt_cb.
Functions interrupted by url_interrupt_cb should not be restarted.Therefore using AVERROR was wrong, as it did not allow to distinguishwhen the underlying system call was interrupted and actually needed to be...
avio: deprecate url_feof
AVIOContext.eof_reached should be used directly instead.
Signed-off-by: Ronald S. Bultje <firstname.lastname@example.org>
avio: rename url_fopen/fclose -> avio_open/close.
avio: rename ByteIOContext to AVIOContext.
applehttp: Handle absolute paths relative to the current server
This fixes roundup issue 2583.
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.
applehttp: Fix the key check in handle_variant_args
The key string is supposed to contain the equals character,too. Since the checked string was wrong, and the return valuecheck was wrong too, it incorrectly seemed to work right before.
Signed-off-by: Mans Rullgard <email@example.com>
prevent integer overflow in calculating duration
Signed-off-by: Martin Storsjö <firstname.lastname@example.org>
applehttp: Add comments to make_absolute_url
Originally committed as revision 25319 to svn://svn.ffmpeg.org/ffmpeg/trunk
applehttp: Handle a .. path segment in the base url
Originally committed as revision 25318 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 25317 to svn://svn.ffmpeg.org/ffmpeg/trunk
applehttp: Allow the base url to be a local file name, too
Originally committed as revision 25316 to svn://svn.ffmpeg.org/ffmpeg/trunk
applehttp: define _XOPEN_SOURCE=600 as required for usleep()
Originally committed as revision 24839 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add Apple HTTP Live Streaming demuxer
Originally committed as revision 24834 to svn://svn.ffmpeg.org/ffmpeg/trunk