Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
8bb639f0
Commit
8bb639f0
authored
Oct 02, 2013
by
Simon Morlat
Browse files
fix mistake in condition
parent
a77698c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/voip/bitratedriver.c
src/voip/bitratedriver.c
+3
-2
No files found.
src/voip/bitratedriver.c
View file @
8bb639f0
...
...
@@ -59,8 +59,9 @@ typedef struct _MSAudioBitrateDriver MSAudioBitrateDriver;
static
int
apply_ptime
(
MSAudioBitrateDriver
*
obj
,
int
target_ptime
){
char
tmp
[
64
];
int
result
=-
1
;;
if
(
min_ptime
<
min_ptime
||
target_ptime
>
max_ptime
)
{
int
result
=-
1
;
if
(
target_ptime
<
min_ptime
||
target_ptime
>
max_ptime
)
{
ms_error
(
"cannot apply ptime value [%i] on [%p] because out of range [%i..%i]"
,
target_ptime
,
obj
,
min_ptime
,
max_ptime
);
return
-
1
;
}
...
...
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