forked from Mirrors/freeswitch
fix MODFORM-12
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9502 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
564b5f4a79
commit
39c13b1d5d
@ -91,6 +91,11 @@ static inline void free_context(shout_context_t *context)
|
||||
int len;
|
||||
int16_t blank[2048] = {0}, *r = NULL;
|
||||
|
||||
|
||||
if (context->channels == 2) {
|
||||
r = blank;
|
||||
}
|
||||
|
||||
len = lame_encode_buffer(context->gfp, blank, r, sizeof(blank) / 2, mp3buffer, sizeof(mp3buffer));
|
||||
|
||||
if (len) {
|
||||
|
Loading…
Reference in New Issue
Block a user