]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 202183 via svnmerge from
authorSean Bright <sean@malleable.com>
Sat, 20 Jun 2009 19:14:22 +0000 (19:14 +0000)
committerSean Bright <sean@malleable.com>
Sat, 20 Jun 2009 19:14:22 +0000 (19:14 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r202183 | seanbright | 2009-06-20 15:09:47 -0400 (Sat, 20 Jun 2009) | 5 lines

  Fix version detection for API changes in spandsp.

  (closes issue #15355)
  Reported by: deuffy
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@202185 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_fax.c

index f555d97f00fc90c9ac071df58e23c5dcc1cc51b0..e38ac4e5c0a66c992ea37decd07833ac91138b5b 100644 (file)
@@ -329,7 +329,7 @@ static int transmit_audio(fax_session *s)
        struct timeval now, start, state_change;
        enum ast_control_t38 t38control;
 
-#if SPANDSP_RELEASE_DATE >= 20081012
+#if SPANDSP_RELEASE_DATE >= 20080725
         /* for spandsp shaphots 0.0.6 and higher */
         t30state = &fax.t30;
 #else
@@ -508,7 +508,7 @@ static int transmit_t38(fax_session *s)
        t30_state_t *t30state;
        t38_core_state_t *t38state;
 
-#if SPANDSP_RELEASE_DATE >= 20081012
+#if SPANDSP_RELEASE_DATE >= 20080725
        /* for spandsp shaphots 0.0.6 and higher */
        t30state = &t38.t30;
        t38state = &t38.t38_fe.t38;