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
d64cf54b
Commit
d64cf54b
authored
Mar 18, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_fieldorder: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
parent
9bbf6c68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
vf_fieldorder.c
libavfilter/vf_fieldorder.c
+4
-6
No files found.
libavfilter/vf_fieldorder.c
View file @
d64cf54b
...
...
@@ -70,17 +70,15 @@ static int query_formats(AVFilterContext *ctx)
static
int
config_input
(
AVFilterLink
*
inlink
)
{
AVFilterContext
*
ctx
=
inlink
->
dst
;
FieldOrderContext
*
fieldorder
=
ctx
->
priv
;
AVFilterContext
*
ctx
=
inlink
->
dst
;
FieldOrderContext
*
s
=
ctx
->
priv
;
int
plane
;
/** full an array with the number of bytes that the video
* data occupies per line for each plane of the input video */
for
(
plane
=
0
;
plane
<
4
;
plane
++
)
{
fieldorder
->
line_size
[
plane
]
=
av_image_get_linesize
(
inlink
->
format
,
inlink
->
w
,
plane
);
s
->
line_size
[
plane
]
=
av_image_get_linesize
(
inlink
->
format
,
inlink
->
w
,
plane
);
}
return
0
;
...
...
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