Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
ffmpeg2theora
Commits
3d5ebf94
Commit
3d5ebf94
authored
Jun 29, 2007
by
Jan Gerber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
channels < 1 go to default, stereo
parent
79c1d461
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ffmpeg2theora.c
ffmpeg2theora.c
+1
-1
No files found.
ffmpeg2theora.c
View file @
3d5ebf94
...
...
@@ -469,7 +469,7 @@ void ff2theora_output(ff2theora this) {
astream
=
this
->
context
->
streams
[
this
->
audio_index
];
aenc
=
this
->
context
->
streams
[
this
->
audio_index
]
->
codec
;
acodec
=
avcodec_find_decoder
(
aenc
->
codec_id
);
if
(
this
->
channels
==
-
1
)
{
if
(
this
->
channels
<
1
)
{
if
(
aenc
->
channels
>
2
)
this
->
channels
=
2
;
else
...
...
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