Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
0232ba62
Commit
0232ba62
authored
10 years ago
by
Anton Khirnov
Browse files
Options
Downloads
Patches
Plain Diff
frame: clarify buf documentation
Mention explicitly that the array must be filled contiguously.
parent
e352520e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavutil/frame.h
+3
-1
3 additions, 1 deletion
libavutil/frame.h
with
3 additions
and
1 deletion
libavutil/frame.h
+
3
−
1
View file @
0232ba62
...
@@ -388,7 +388,9 @@ typedef struct AVFrame {
...
@@ -388,7 +388,9 @@ typedef struct AVFrame {
/**
/**
* AVBuffer references backing the data for this frame. If all elements of
* AVBuffer references backing the data for this frame. If all elements of
* this array are NULL, then this frame is not reference counted.
* this array are NULL, then this frame is not reference counted. This array
* must be filled contiguously -- if buf[i] is non-NULL then buf[j] must
* also be non-NULL for all j < i.
*
*
* There may be at most one AVBuffer per data plane, so for video this array
* There may be at most one AVBuffer per data plane, so for video this array
* always contains all the references. For planar audio with more than
* always contains all the references. For planar audio with more than
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment