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
72d4405b
Commit
72d4405b
authored
Apr 09, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avio: cosmetics, group the reading functions.
parent
37744e32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
avio.h
libavformat/avio.h
+14
-6
No files found.
libavformat/avio.h
View file @
72d4405b
...
...
@@ -461,13 +461,25 @@ void avio_flush(AVIOContext *s);
*/
int
avio_read
(
AVIOContext
*
s
,
unsigned
char
*
buf
,
int
size
);
/** @note return 0 if EOF, so you cannot use it if EOF handling is
necessary */
/**
* @defgroup avio_read Functions for reading from AVIOContext.
* @{
*
* @note return 0 if EOF, so you cannot use it if EOF handling is
* necessary
*/
int
avio_r8
(
AVIOContext
*
s
);
unsigned
int
avio_rl16
(
AVIOContext
*
s
);
unsigned
int
avio_rl24
(
AVIOContext
*
s
);
unsigned
int
avio_rl32
(
AVIOContext
*
s
);
uint64_t
avio_rl64
(
AVIOContext
*
s
);
unsigned
int
avio_rb16
(
AVIOContext
*
s
);
unsigned
int
avio_rb24
(
AVIOContext
*
s
);
unsigned
int
avio_rb32
(
AVIOContext
*
s
);
uint64_t
avio_rb64
(
AVIOContext
*
s
);
/**
* @}
*/
/**
* Read a string from pb into buf. The reading will terminate when either
...
...
@@ -492,10 +504,6 @@ int avio_get_str(AVIOContext *pb, int maxlen, char *buf, int buflen);
int
avio_get_str16le
(
AVIOContext
*
pb
,
int
maxlen
,
char
*
buf
,
int
buflen
);
int
avio_get_str16be
(
AVIOContext
*
pb
,
int
maxlen
,
char
*
buf
,
int
buflen
);
unsigned
int
avio_rb16
(
AVIOContext
*
s
);
unsigned
int
avio_rb24
(
AVIOContext
*
s
);
unsigned
int
avio_rb32
(
AVIOContext
*
s
);
uint64_t
avio_rb64
(
AVIOContext
*
s
);
#if FF_API_URL_RESETBUF
/** Reset the buffer for reading or writing.
...
...
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