Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
1f8ad15a
Commit
1f8ad15a
authored
Jan 24, 2010
by
Stefano Sabatini
Browse files
Doxument url_read().
Originally committed as revision 21415 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
30b61475
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
libavformat/avio.h
libavformat/avio.h
+11
-0
No files found.
libavformat/avio.h
View file @
1f8ad15a
...
@@ -68,7 +68,18 @@ typedef int URLInterruptCB(void);
...
@@ -68,7 +68,18 @@ typedef int URLInterruptCB(void);
int
url_open_protocol
(
URLContext
**
puc
,
struct
URLProtocol
*
up
,
int
url_open_protocol
(
URLContext
**
puc
,
struct
URLProtocol
*
up
,
const
char
*
filename
,
int
flags
);
const
char
*
filename
,
int
flags
);
int
url_open
(
URLContext
**
h
,
const
char
*
filename
,
int
flags
);
int
url_open
(
URLContext
**
h
,
const
char
*
filename
,
int
flags
);
/**
* Reads up to size bytes from the resource accessed by h, and stores
* the read bytes in buf.
*
* @return The number of bytes actually read, or a negative value
* corresponding to an AVERROR code in case of error. A value of zero
* indicates that it is not possible to read more from the accessed
* resource (except if the value of the size argument is also zero).
*/
int
url_read
(
URLContext
*
h
,
unsigned
char
*
buf
,
int
size
);
int
url_read
(
URLContext
*
h
,
unsigned
char
*
buf
,
int
size
);
/**
/**
* Read as many bytes as possible (up to size), calling the
* Read as many bytes as possible (up to size), calling the
* read function multiple times if necessary.
* read function multiple times if necessary.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment