Michael Niedermayer
|
fe5feaeb76
Use retry_transfer_wrapper() in url_write() as its callers do not expect it to stop in the middle.
|
14 years ago |
Michael Niedermayer
|
a46f7516ec
Factor retry_transfer_wrapper() out of url_read_complete()
|
14 years ago |
Stefano Sabatini
|
0a216bd1dd
Make register_protocol() use the function av_register_protocol2()
|
14 years ago |
Michael Niedermayer
|
6ed040408b
Move AVOptions from libavcodec to libavutil
|
14 years ago |
Aurelien Jacobs
|
838b27b42c
add FF_API_REGISTER_PROTOCOL define to disable the deprecated
|
14 years ago |
Aurelien Jacobs
|
404eba44b1
add FF_API_URL_CLASS define to enable usage of URLContext as a AVClass
|
14 years ago |
Måns Rullgård
|
2bab5d3e73
Allow all valid (and only valid) characters in URL scheme for url_open()
|
14 years ago |
Eli Friedman
|
8b4845c0b0
Remove an unused label, fixing a warning
|
14 years ago |
Eli Friedman
|
805488f0e2
Add proper const declaration to a cast, fixes a warning
|
14 years ago |
Martin Storsjö
|
02174293c6
Reindent
|
14 years ago |
Martin Storsjö
|
735cf6b265
Add priv_data_size and priv_data_class to URLProtocol
|
14 years ago |
Martin Storsjö
|
ffbb289a1d
Split url_open and url_open_protocol into url_alloc and url_connect
|
14 years ago |
Martin Storsjö
|
9b07a2dc02
Add an av_register_protocol2 function that takes a size parameter
|
14 years ago |
Martin Storsjö
|
27241cbffe
Declare the url_write buffer parameter as const
|
14 years ago |
Michael Niedermayer
|
2308b6c19a
Add version to AVClass so we can add to and use fields of AVClass without ABI issues.
|
14 years ago |
Stefano Sabatini
|
28894105c8
Make url_seek() return AVERROR(ENOSYS) rather than AVERROR(EPIPE) in
|
14 years ago |
Michael Niedermayer
|
493f54ada0
Add AVSEEK_FORCE flag to indicate that the code should attempt to seek
|
14 years ago |
Martin Storsjö
|
67d4b3f205
Always call ff_network_init/ff_network_close when opening protocols
|
14 years ago |
Daniel Kristjansson
|
31277aebd9
Use av_mallocz in url_open_protocol for URLContext.
|
14 years ago |
Reimar Döffinger
|
f1d2b5728c
Make url_read_complete handle EAGAIN more intelligently.
|
14 years ago |
Reimar Döffinger
|
ddb901b74d
Make url_read_complete retry on EAGAIN and return how much data it read
|
14 years ago |
Måns Rullgård
|
48fdb66c68
Fix comment typo carefull -> careful
|
14 years ago |
Kostya Shishkov
|
0e848977ce
Move function for reading whole specified amount of data from RTSP
|
15 years ago |
Ronald S. Bultje
|
f0a8039464
Add url_get_file_handle(), which is used to get the file descriptor
|
15 years ago |
Stefano Sabatini
|
65c40e4e3a
Rename register_protocol() to av_register_protocol() and deprecate
|
15 years ago |
Ramiro Polla
|
bc574408dc
Only special-case absolute DOS paths on systems that support them.
|
16 years ago |
Diego Biurrun
|
bc5c918ea8
Remove offset_t typedef and use int64_t directly instead.
|
16 years ago |
Ronald S. Bultje
|
ba99cfc213
Implement url_open_protocol(), which is basiclly the former url_open()
|
16 years ago |
Diego Biurrun
|
245976da2a
Use full path for #includes from another directory.
|
16 years ago |
Michael Niedermayer
|
abbae514e1
Check url_seek() in url_open().
|
16 years ago |
Björn Axelsson
|
5acef35f57
Add AVClass to URLContext at next major version bump
|
16 years ago |
Guillaume LecrefECERF
|
727601bc4b
url_write is part of the public API so it may not be under ifdef.
|
16 years ago |
Michael Niedermayer
|
b075e52059
Make recently added and still unused read_seek functions return offset_t.
|
16 years ago |
Michael Niedermayer
|
502bdf6893
Merge recently added and still unused play and pause functions.
|
16 years ago |
Michael Niedermayer
|
2e9b86ac12
Remove dead code which disappeared with the last major version bump.
|
16 years ago |
Michael Niedermayer
|
84be6e7239
av_*_next() API for libavformat
|
16 years ago |
Björn Axelsson
|
536333a0fe
Extend URLProtocol with new function pointers and api functions for
|
17 years ago |
Alex Beregszaszi
|
7a813b368a
Call prot->url_close only if it is present.
|
17 years ago |
Thorsten Jordan
|
346db900bf
Check context before accessing its field.
|
17 years ago |
Panagiotis Issaris
|
6f3e0b2174
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
|
17 years ago |
Måns Rullgård
|
75e61b0e88
use new string functions
|
17 years ago |
Panagiotis Issaris
|
c306748c29
Move avio.h's url_get_max_packet_size() comment from source to header file.
|
17 years ago |
François Revol
|
8fa36ae09d
This fixes error handling for BeOS, removing the need for some ifdefs.
|
17 years ago |
Ronald S. Bultje
|
eabbae730c
protect the size=seek(SEEK_END,-1)+1 results with an if (.. < 0), else the
|
17 years ago |
Ronald S. Bultje
|
621810045c
makes the filename member of the URLContext a pointer, so that the
|
17 years ago |
Michael Niedermayer
|
1ae2c5f2e7
fix indention of previous commit
|
17 years ago |
Michael Niedermayer
|
8e287af090
seekless filesize retrieving support in 7 lines of code, also doesnt break compatibility
|
17 years ago |
Diego Biurrun
|
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
|
18 years ago |
Gildas Bazin
|
04f46ced8c
Add --disable-protocols option to configure to disable I/O protocol from
|
18 years ago |
Diego Biurrun
|
5509bffa88
Update licensing information: The FSF changed postal address.
|
18 years ago |