trivial fix compiler warning
This commit is contained in:
parent
d50366f377
commit
a4f3629773
|
@ -1128,7 +1128,7 @@ static switch_bool_t record_callback(switch_media_bug_t *bug, void *user_data, s
|
||||||
|
|
||||||
if (rh->rready && rh->wready) {
|
if (rh->rready && rh->wready) {
|
||||||
switch_time_t now = switch_micro_time_now();
|
switch_time_t now = switch_micro_time_now();
|
||||||
long diff;
|
switch_time_t diff;
|
||||||
nframe = switch_core_media_bug_get_native_read_frame(bug);
|
nframe = switch_core_media_bug_get_native_read_frame(bug);
|
||||||
len = nframe->datalen;
|
len = nframe->datalen;
|
||||||
|
|
||||||
|
@ -1158,7 +1158,7 @@ static switch_bool_t record_callback(switch_media_bug_t *bug, void *user_data, s
|
||||||
|
|
||||||
if (rh->rready && rh->wready) {
|
if (rh->rready && rh->wready) {
|
||||||
switch_time_t now = switch_micro_time_now();
|
switch_time_t now = switch_micro_time_now();
|
||||||
long diff;
|
switch_time_t diff;
|
||||||
|
|
||||||
nframe = switch_core_media_bug_get_native_write_frame(bug);
|
nframe = switch_core_media_bug_get_native_write_frame(bug);
|
||||||
len = nframe->datalen;
|
len = nframe->datalen;
|
||||||
|
|
Loading…
Reference in New Issue