Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
4edfcecc
Commit
4edfcecc
authored
Mar 21, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document get_*_buffer()
Originally committed as revision 12548 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
48a55290
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
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