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
libopusenc
Commits
4e8a9ae7
Unverified
Commit
4e8a9ae7
authored
Feb 06, 2018
by
Jean-Marc Valin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ope_encoder_deferred_init_with_mapping() no longer takes family 0
parent
4f76bbc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/opusenc.c
src/opusenc.c
+1
-1
No files found.
src/opusenc.c
View file @
4e8a9ae7
...
...
@@ -406,7 +406,7 @@ int ope_encoder_deferred_init_with_mapping(OggOpusEnc *enc, int family, int stre
return
OPE_TOO_LATE
;
}
if
(
family
<
0
||
family
>
255
)
return
OPE_BAD_ARG
;
else
if
(
family
!=
0
&&
family
!=
1
&&
family
!=
255
)
return
OPE_UNIMPLEMENTED
;
else
if
(
family
!=
1
&&
family
!=
255
)
return
OPE_UNIMPLEMENTED
;
else
if
(
streams
<=
0
||
streams
>
255
||
coupled_streams
<
0
||
coupled_streams
>=
128
||
streams
+
coupled_streams
>
255
)
return
OPE_BAD_ARG
;
st
=
opus_multistream_encoder_create
(
48000
,
enc
->
channels
,
streams
,
coupled_streams
,
mapping
,
OPUS_APPLICATION_AUDIO
,
&
ret
);
if
(
!
(
ret
==
OPUS_OK
&&
st
!=
NULL
)
)
{
...
...
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