Martin Storsjö
f1f60f5252
lavf: Make make_absolute_url a lavf internal function
...
This is shared by both applehttp demuxer and protocol.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Martin Storsjö
bc040cb3e2
applehttp: Fix a typo in a comment
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Nicolas George
c76374c6db
Use AVERROR_EXIT with url_interrupt_cb.
...
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>
14 years ago
Anton Khirnov
66e5b1df36
avio: deprecate url_feof
...
AVIOContext.eof_reached should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
22a3212e32
avio: rename url_fopen/fclose -> avio_open/close.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
ae628ec1fd
avio: rename ByteIOContext to AVIOContext.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Martin Storsjö
185a155e57
applehttp: Handle absolute paths relative to the current server
...
This fixes roundup issue 2583.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Diego Elio Pettenò
c6610a216e
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
...
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.
14 years ago
Martin Storsjö
2b0decf60b
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 value
check was wrong too, it incorrectly seemed to work right before.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
John Wimer
b79c3df088
prevent integer overflow in calculating duration
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
ae8c28db87
applehttp: Add comments to make_absolute_url
...
Originally committed as revision 25319 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
9d229ef9e6
applehttp: Handle a .. path segment in the base url
...
Originally committed as revision 25318 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
978a5ce82e
Reindent
...
Originally committed as revision 25317 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
8f7c2452de
applehttp: Allow the base url to be a local file name, too
...
Originally committed as revision 25316 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
b2125520e7
applehttp: define _XOPEN_SOURCE=600 as required for usleep()
...
Originally committed as revision 24839 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
cd223e0b4e
Add Apple HTTP Live Streaming demuxer
...
Originally committed as revision 24834 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago