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
b1ed7957
Commit
b1ed7957
authored
Jan 03, 2017
by
Matthieu Bouron
Committed by
Matthieu Bouron
Jan 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/framepool: cosmetic style fixes
parent
e2d336cf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
framepool.c
libavfilter/framepool.c
+2
-4
No files found.
libavfilter/framepool.c
View file @
b1ed7957
...
...
@@ -220,9 +220,8 @@ AVFrame *ff_frame_pool_get(FFFramePool *pool)
break
;
frame
->
buf
[
i
]
=
av_buffer_pool_get
(
pool
->
pools
[
i
]);
if
(
!
frame
->
buf
[
i
])
{
if
(
!
frame
->
buf
[
i
])
goto
fail
;
}
frame
->
data
[
i
]
=
frame
->
buf
[
i
]
->
data
;
}
...
...
@@ -233,10 +232,9 @@ AVFrame *ff_frame_pool_get(FFFramePool *pool)
pool
->
format
==
AV_PIX_FMT_PAL8
?
AV_PIX_FMT_BGR8
:
pool
->
format
;
av_assert0
(
frame
->
data
[
1
]
!=
NULL
);
if
(
avpriv_set_systematic_pal2
((
uint32_t
*
)
frame
->
data
[
1
],
format
)
<
0
)
{
if
(
avpriv_set_systematic_pal2
((
uint32_t
*
)
frame
->
data
[
1
],
format
)
<
0
)
goto
fail
;
}
}
frame
->
extended_data
=
frame
->
data
;
break
;
...
...
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