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
4edfcecc
Commit
4edfcecc
authored
Mar 21, 2008
by
Michael Niedermayer
Browse files
Document get_*_buffer()
Originally committed as revision 12548 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
48a55290
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
libavformat/avio.h
libavformat/avio.h
+12
-0
No files found.
libavformat/avio.h
View file @
4edfcecc
...
...
@@ -260,7 +260,19 @@ char *url_fgets(ByteIOContext *s, char *buf, int buf_size);
void
put_flush_packet
(
ByteIOContext
*
s
);
/**
* Reads size bytes from ByteIOContext into buf.
* @returns number of bytes read or AVERROR
*/
int
get_buffer
(
ByteIOContext
*
s
,
unsigned
char
*
buf
,
int
size
);
/**
* Reads size bytes from ByteIOContext into buf.
* This reads at most 1 packet. If thats not enough fewer bytes will be
* returned.
* @returns number of bytes read or AVERROR
*/
int
get_partial_buffer
(
ByteIOContext
*
s
,
unsigned
char
*
buf
,
int
size
);
/** @note return 0 if EOF, so you cannot use it if EOF handling is
...
...
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