Josh Allmann
de1807bbc4
Pad the buffer in url_close_dyn_buf, for buffers opened with url_open_dyn_buf
...
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23942 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
ed8d57665b
Add all required includes to avio.h
...
Originally committed as revision 23734 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
735cf6b265
Add priv_data_size and priv_data_class to URLProtocol
...
This allows url_alloc to allocate and initialize the priv_data.
Originally committed as revision 23706 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
ffbb289a1d
Split url_open and url_open_protocol into url_alloc and url_connect
...
Originally committed as revision 23704 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
9b07a2dc02
Add an av_register_protocol2 function that takes a size parameter
...
This allows extending the URLProtocol struct without breaking binary
compatibility with code compiled with older definitions of the struct.
Originally committed as revision 23702 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
27241cbffe
Declare the url_write buffer parameter as const
...
Originally committed as revision 23401 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Tomas Härdin
01d91b9be9
Reusing the probe buffer to rewind the ByteIOContext in ff_probe_input_buffer() instead of seeking back to the start of the file. Once exhausted, the size of the buffer is reduced.
...
Originally committed as revision 22821 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benoit Fouet
32e543f866
Replace @returns by @return .
...
Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
8a36b59ba6
Document url_exist().
...
Originally committed as revision 22725 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
9bee245954
Document url_seek().
...
Originally committed as revision 22709 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
493f54ada0
Add AVSEEK_FORCE flag to indicate that the code should attempt to seek
...
by any means.
Originally committed as revision 22557 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
fe4fbb583d
Doxument url_fopen().
...
Originally committed as revision 21714 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
4e38c09433
Doxument url_fdopen().
...
Originally committed as revision 21647 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
d19a046ebb
Document av_register_protocol(), not that it really needs to be
...
documented but it's nice to have everything documented.
Originally committed as revision 21471 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
b0634fd11e
Doxument url_open().
...
Originally committed as revision 21437 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
725b3da981
Favor the term "URL" over "filename", as the API deals with URLs
...
rather than with simple filenames.
Originally committed as revision 21429 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
f1f78a9d85
Doxument url_close().
...
Originally committed as revision 21420 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
333146ddc5
Doxument url_open_protocol().
...
Originally committed as revision 21417 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
1f8ad15ad3
Doxument url_read().
...
Originally committed as revision 21415 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
ddb901b74d
Make url_read_complete retry on EAGAIN and return how much data it read
...
if it reached EOF, making it useful in more cases.
Originally committed as revision 21393 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benoit Fouet
08580cb05a
Make url_resetbuf() assert on wrong flags passed and make it static on next
...
version bump.
See thread: [FFmpeg-devel] & vs. &&
Date: Mon, 12 Oct 2009 14:21:06 +0200
Originally committed as revision 20330 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
0e848977ce
Move function for reading whole specified amount of data from RTSP
...
demuxer into more common place.
Originally committed as revision 19087 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
597b4b3f03
Define struct URLContext and typedef it to URLContext in one step.
...
Originally committed as revision 18948 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
f0a8039464
Add url_get_file_handle(), which is used to get the file descriptor
...
associated with the I/O handle (e.g. the fd returned by open()). See
"[RFC] rtsp.c EOF support" thread.
There were previously some URI-specific implementations of the same idea,
e.g. rtp_get_file_handles() and udp_get_file_handle(). All of these are
deprecated by this patch and will be removed at the next major API bump.
Originally committed as revision 17779 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
3f4c2bf99b
Mark as "internal but installed" the avio.h file.
...
This should prevent its direct inclusion in an external project, which
results broken if avformat.h is not included before.
Originally committed as revision 17626 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
aafe9b635e
Add a @file notice to avio.h.
...
Originally committed as revision 17625 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
30f68128ab
Add missing #includes to fix 'make checkheaders'.
...
Originally committed as revision 17398 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
c1b0210115
Improve grammar: "X next after Y" -> "next X after Y".
...
Originally committed as revision 17347 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
d1037c1205
Do not export to the public the first_protocol symbol at the next
...
major bump.
There is no need for that, since av_protocol_next() already provides
access to the first registered protocol.
Originally committed as revision 17326 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9075d1e027
Document av_protocol_next().
...
Originally committed as revision 17324 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
65c40e4e3a
Rename register_protocol() to av_register_protocol() and deprecate
...
register_protocol().
Originally committed as revision 17322 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7f37f5687d
whitespace cosmetics
...
Originally committed as revision 16100 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bc5c918ea8
Remove offset_t typedef and use int64_t directly instead.
...
The name offset_t is easily confused with the standard off_t type and
*_t is POSIX reserved namespace if any POSIX header is included.
Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
ba99cfc213
Implement url_open_protocol(), which is basiclly the former url_open()
...
but which opens a URLProtocol instead of a filename. url_open() is
reimplemented to call url_open_protocol(). See discussion on
"url_open_protocol" on ffmpeg-devel.
Originally committed as revision 14857 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
4477dedc4f
minor typo fixes
...
Originally committed as revision 12658 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
57ecf8d281
1st attempt at correcting the punktuation.
...
Originally committed as revision 12555 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4edfceccec
Document get_*_buffer()
...
Originally committed as revision 12548 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
67e2102042
Document a few url_* functions.
...
Originally committed as revision 12537 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Björn Axelsson
5acef35f57
Add AVClass to URLContext at next major version bump
...
Patch by Björn Axelsson (bjorn axelsson intinor se)
Originally committed as revision 12411 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
1e0f346896
Add a av_alloc_put_byte function.
...
The name is in analogy to init_put_byte, but I would not mind it
being changed to something better.
Originally committed as revision 11305 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
00ef4f58e0
Fix Doxygen function parameter name.
...
Originally committed as revision 11295 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
8bfb108b3e
comment typo fixes
...
Originally committed as revision 11294 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ivo van Poorten
91fd7398f4
typo ;)
...
Originally committed as revision 11287 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1308f2733d
Document ByteIOContext and URLContext change rules.
...
Originally committed as revision 11286 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b075e52059
Make recently added and still unused read_seek functions return offset_t.
...
Originally committed as revision 11274 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
502bdf6893
Merge recently added and still unused play and pause functions.
...
Originally committed as revision 11273 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2e9b86ac12
Remove dead code which disappeared with the last major version bump.
...
Originally committed as revision 11268 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago