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
31d5113a
Commit
31d5113a
authored
Nov 16, 2008
by
Benjamin Larsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set channel_layout
Originally committed as revision 15843 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
55374d57
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
cook.c
libavcodec/cook.c
+1
-0
imc.c
libavcodec/imc.c
+1
-0
nellymoserdec.c
libavcodec/nellymoserdec.c
+1
-0
No files found.
libavcodec/cook.c
View file @
31d5113a
...
...
@@ -1177,6 +1177,7 @@ static int cook_decode_init(AVCodecContext *avctx)
}
avctx
->
sample_fmt
=
SAMPLE_FMT_S16
;
avctx
->
channel_layout
=
(
avctx
->
channels
==
2
)
?
CH_LAYOUT_STEREO
:
CH_LAYOUT_MONO
;
#ifdef COOKDEBUG
dump_cook_context
(
q
);
...
...
libavcodec/imc.c
View file @
31d5113a
...
...
@@ -155,6 +155,7 @@ static av_cold int imc_decode_init(AVCodecContext * avctx)
ff_fft_init
(
&
q
->
fft
,
7
,
1
);
dsputil_init
(
&
q
->
dsp
,
avctx
);
avctx
->
sample_fmt
=
SAMPLE_FMT_S16
;
avctx
->
channel_layout
=
(
avctx
->
channels
==
2
)
?
CH_LAYOUT_STEREO
:
CH_LAYOUT_MONO
;
return
0
;
}
...
...
libavcodec/nellymoserdec.c
View file @
31d5113a
...
...
@@ -148,6 +148,7 @@ static av_cold int decode_init(AVCodecContext * avctx) {
ff_sine_window_init
(
sine_window
,
128
);
avctx
->
sample_fmt
=
SAMPLE_FMT_S16
;
avctx
->
channel_layout
=
CH_LAYOUT_MONO
;
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