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
f12174c8
Commit
f12174c8
authored
Aug 25, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/filtfmts: fix use of deprecated symbols
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
21ba8021
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
filtfmts.c
libavfilter/filtfmts.c
+3
-3
No files found.
libavfilter/filtfmts.c
View file @
f12174c8
...
...
@@ -31,7 +31,7 @@ static void print_formats(AVFilterContext *filter_ctx)
int
i
,
j
;
#define PRINT_FMTS(inout, outin, INOUT) \
for (i = 0; i < filter_ctx->
inout##put_count
; i++) { \
for (i = 0; i < filter_ctx->
nb_##inout##puts
; i++) { \
if (filter_ctx->inout##puts[i]->type == AVMEDIA_TYPE_VIDEO) { \
AVFilterFormats *fmts = \
filter_ctx->inout##puts[i]->outin##_formats; \
...
...
@@ -111,12 +111,12 @@ int main(int argc, char **argv)
}
/* create a link for each of the input pads */
for
(
i
=
0
;
i
<
filter_ctx
->
input_count
;
i
++
)
{
for
(
i
=
0
;
i
<
filter_ctx
->
nb_inputs
;
i
++
)
{
AVFilterLink
*
link
=
av_mallocz
(
sizeof
(
AVFilterLink
));
link
->
type
=
filter_ctx
->
filter
->
inputs
[
i
].
type
;
filter_ctx
->
inputs
[
i
]
=
link
;
}
for
(
i
=
0
;
i
<
filter_ctx
->
output_count
;
i
++
)
{
for
(
i
=
0
;
i
<
filter_ctx
->
nb_outputs
;
i
++
)
{
AVFilterLink
*
link
=
av_mallocz
(
sizeof
(
AVFilterLink
));
link
->
type
=
filter_ctx
->
filter
->
outputs
[
i
].
type
;
filter_ctx
->
outputs
[
i
]
=
link
;
...
...
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