mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Fix version detection for API changes in spandsp.
(closes issue #15355) Reported by: deuffy git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@202183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -374,7 +374,7 @@ static int transmit_audio(fax_session *s)
|
|||||||
struct timeval now, start, state_change;
|
struct timeval now, start, state_change;
|
||||||
enum ast_control_t38 t38control;
|
enum ast_control_t38 t38control;
|
||||||
|
|
||||||
#if SPANDSP_RELEASE_DATE >= 20081012
|
#if SPANDSP_RELEASE_DATE >= 20080725
|
||||||
/* for spandsp shaphots 0.0.6 and higher */
|
/* for spandsp shaphots 0.0.6 and higher */
|
||||||
t30state = &fax.t30;
|
t30state = &fax.t30;
|
||||||
#else
|
#else
|
||||||
@@ -553,7 +553,7 @@ static int transmit_t38(fax_session *s)
|
|||||||
t30_state_t *t30state;
|
t30_state_t *t30state;
|
||||||
t38_core_state_t *t38state;
|
t38_core_state_t *t38state;
|
||||||
|
|
||||||
#if SPANDSP_RELEASE_DATE >= 20081012
|
#if SPANDSP_RELEASE_DATE >= 20080725
|
||||||
/* for spandsp shaphots 0.0.6 and higher */
|
/* for spandsp shaphots 0.0.6 and higher */
|
||||||
t30state = &t38.t30;
|
t30state = &t38.t30;
|
||||||
t38state = &t38.t38_fe.t38;
|
t38state = &t38.t38_fe.t38;
|
||||||
|
Reference in New Issue
Block a user