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
f5326dc6
Commit
f5326dc6
authored
Sep 19, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bavfilter/filtfmts: fix type for channel layouts
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
270a325f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
filtfmts.c
libavfilter/filtfmts.c
+4
-3
No files found.
libavfilter/filtfmts.c
View file @
f5326dc6
...
...
@@ -45,6 +45,7 @@ static void print_formats(AVFilterContext *filter_ctx)
av_get_pix_fmt_name(fmts->formats[j])); \
} else if (filter_ctx->inout##puts[i]->type == AVMEDIA_TYPE_AUDIO) { \
AVFilterFormats *fmts; \
AVFilterChannelLayouts *layouts; \
\
fmts = filter_ctx->inout##puts[i]->outin##_formats; \
for (j = 0; j < fmts->format_count; j++) \
...
...
@@ -52,11 +53,11 @@ static void print_formats(AVFilterContext *filter_ctx)
i, filter_ctx->filter->inout##puts[i].name, \
av_get_sample_fmt_name(fmts->formats[j])); \
\
fm
ts = filter_ctx->inout##puts[i]->outin##_channel_layouts; \
for (j = 0; j <
fmts->format_count
; j++) { \
layou
ts = filter_ctx->inout##puts[i]->outin##_channel_layouts; \
for (j = 0; j <
layouts->nb_channel_layouts
; j++) { \
char buf[256]; \
av_get_channel_layout_string(buf, sizeof(buf), -1, \
fmts->forma
ts[j]); \
layouts->channel_layou
ts[j]); \
printf(#INOUT "PUT[%d] %s: chlayout:%s\n", \
i, filter_ctx->filter->inout##puts[i].name, buf); \
} \
...
...
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