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
d1c5fdf8
Commit
d1c5fdf8
authored
Apr 10, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avio: add more documentation for AVIOContext.
parent
768c5251
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
avio.h
libavformat/avio.h
+13
-0
No files found.
libavformat/avio.h
View file @
d1c5fdf8
...
...
@@ -41,6 +41,11 @@
* Removal, reordering and changes to existing fields require a major
* version bump.
* sizeof(AVIOContext) must not be used outside libav*.
*
* @note None of the function pointers in AVIOContext should be called
* directly, they should only be set by the client application
* when implementing custom I/O. Normally these are set to the
* function pointers specified in avio_alloc_context()
*/
typedef
struct
{
unsigned
char
*
buffer
;
/**< Start of the buffer. */
...
...
@@ -67,7 +72,15 @@ typedef struct {
unsigned
char
*
checksum_ptr
;
unsigned
long
(
*
update_checksum
)(
unsigned
long
checksum
,
const
uint8_t
*
buf
,
unsigned
int
size
);
int
error
;
/**< contains the error code or 0 if no error happened */
/**
* Pause or resume playback for network streaming protocols - e.g. MMS.
*/
int
(
*
read_pause
)(
void
*
opaque
,
int
pause
);
/**
* Seek to a given timestamp in stream with the specified stream_index.
* Needed for some network streaming protocols which don't support seeking
* to byte position.
*/
int64_t
(
*
read_seek
)(
void
*
opaque
,
int
stream_index
,
int64_t
timestamp
,
int
flags
);
/**
...
...
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