trivial fix compiler warning

This commit is contained in:
Jeff Lenk 2013-05-15 11:51:55 -05:00
parent d50366f377
commit a4f3629773
1 changed files with 2 additions and 2 deletions

View File

@ -1128,7 +1128,7 @@ static switch_bool_t record_callback(switch_media_bug_t *bug, void *user_data, s
if (rh->rready && rh->wready) {
switch_time_t now = switch_micro_time_now();
long diff;
switch_time_t diff;
nframe = switch_core_media_bug_get_native_read_frame(bug);
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) {
switch_time_t now = switch_micro_time_now();
long diff;
switch_time_t diff;
nframe = switch_core_media_bug_get_native_write_frame(bug);
len = nframe->datalen;