mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +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:
1 parent
58d5c86936
commit
c0248be1c3
2 files changed
+5
-5
No files matched your search
@@ -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