mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14424 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -111,7 +111,7 @@ struct shout_context {
|
||||
int mp3err;
|
||||
int dlen;
|
||||
FILE *fp;
|
||||
int samplerate;
|
||||
size_t samplerate;
|
||||
uint8_t thread_running;
|
||||
uint8_t shout_init;
|
||||
uint32_t prebuf;
|
||||
@@ -791,7 +791,7 @@ static switch_status_t shout_file_seek(switch_file_handle_t *handle, unsigned in
|
||||
}
|
||||
|
||||
switch_buffer_zero(context->audio_buffer);
|
||||
*cur_sample = mpg123_seek (context->mh, samples, whence);
|
||||
*cur_sample = mpg123_seek (context->mh, (off_t)samples, whence);
|
||||
|
||||
return *cur_sample >= 0 ? SWITCH_STATUS_SUCCESS : SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user