git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5201
d0543943-73ff-0310-b7d9-
9358b9ac24b2
v = gr_info->pow2gain[sanity];
cb = *m++;
} else {
- return 0;
+ return 1;
}
} else {
- return 0;
+ return 1;
}
}
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Decoder Error!\n");
}
dlen = 0;
- continue;
+ //continue;
+ goto error;
}
context->mp3err = 0;
} else if (context->fp) {
*cur_sample = fseek(context->fp, *cur_sample, whence);
}
+
+ ExitMP3(&context->mp);
+ InitMP3(&context->mp, OUTSCALE, context->samplerate);
switch_buffer_zero(context->audio_buffer);
+
} else {
context->err++;
}