]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
MODAPP-443 mod_spandsp receive t38 fax error in windows7
authorJeff Lenk <jeff@jefflenk.com>
Wed, 21 Jul 2010 02:52:56 +0000 (21:52 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Wed, 21 Jul 2010 02:52:56 +0000 (21:52 -0500)
libs/spandsp/src/spandsp/t38_core.h
libs/spandsp/src/t38_core.c

index 9170ecd4d5f8e85eb2976e25abe9da7d56361448..f6b0b12ea0b376307c795a4d521a88ae0fac0470 100644 (file)
@@ -282,7 +282,7 @@ SPAN_DECLARE(int) t38_core_send_data_multi_field(t38_core_state_t *s, int data_t
     \param len The length of the packet contents.
     \param seq_no The packet sequence number.
     \return 0 for OK, else -1. */
-SPAN_DECLARE(int) t38_core_rx_ifp_packet(t38_core_state_t *s, const uint8_t *buf, int len, uint16_t seq_no);
+SPAN_DECLARE_NONSTD(int) t38_core_rx_ifp_packet(t38_core_state_t *s, const uint8_t *buf, int len, uint16_t seq_no);
 
 /*! Set the method to be used for data rate management, as per the T.38 spec.
     \param s The T.38 context.
index a5abc417a6c7a22bd0242dcbc50684024bd43d6c..443608b26d191d9e38a53c73379e1252bb304735 100644 (file)
@@ -327,7 +327,7 @@ static __inline__ int classify_seq_no_offset(int expected, int actual)
 }
 /*- End of function --------------------------------------------------------*/
 
-SPAN_DECLARE(int) t38_core_rx_ifp_packet(t38_core_state_t *s, const uint8_t *buf, int len, uint16_t seq_no)
+SPAN_DECLARE_NONSTD(int) t38_core_rx_ifp_packet(t38_core_state_t *s, const uint8_t *buf, int len, uint16_t seq_no)
 {
     int i;
     int t30_indicator;