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
4cdb3c50
Commit
4cdb3c50
authored
Apr 29, 2013
by
Derek Buitenhuis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: doxy: Clarify what get_buffer2 must fill in buf[]
Signed-off-by:
Derek Buitenhuis
<
derek.buitenhuis@gmail.com
>
parent
e926b5ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
avcodec.h
libavcodec/avcodec.h
+5
-2
No files found.
libavcodec/avcodec.h
View file @
4cdb3c50
...
@@ -1920,8 +1920,11 @@ typedef struct AVCodecContext {
...
@@ -1920,8 +1920,11 @@ typedef struct AVCodecContext {
* extended_data must be allocated with av_malloc() and will be freed in
* extended_data must be allocated with av_malloc() and will be freed in
* av_frame_unref().
* av_frame_unref().
* * otherwise exended_data must point to data
* * otherwise exended_data must point to data
* - buf[] must contain references to the buffers that contain the frame
* - buf[] must contain one or more pointers to AVBufferRef structures. Each of
* data.
* the frame's data and extended_data pointers must be contained in these. That
* is, one AVBufferRef for each allocated chunk of memory, not necessarily one
* AVBufferRef per data[] entry. See: av_buffer_create(), av_buffer_alloc(),
* and av_buffer_ref().
* - extended_buf and nb_extended_buf must be allocated with av_malloc() by
* - extended_buf and nb_extended_buf must be allocated with av_malloc() by
* this callback and filled with the extra buffers if there are more
* this callback and filled with the extra buffers if there are more
* buffers than buf[] can hold. extended_buf will be freed in
* buffers than buf[] can hold. extended_buf will be freed in
...
...
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