[Freeswitch-svn] [commit] r12062 - freeswitch/trunk/src
    FreeSWITCH SVN 
    anthm at freeswitch.org
       
    Mon Feb 16 10:56:13 PST 2009
    
    
  
Author: anthm
Date: Mon Feb 16 12:56:13 2009
New Revision: 12062
Log:
FSCORE-300
Modified:
   freeswitch/trunk/src/switch_core_io.c
Modified: freeswitch/trunk/src/switch_core_io.c
==============================================================================
--- freeswitch/trunk/src/switch_core_io.c	(original)
+++ freeswitch/trunk/src/switch_core_io.c	Mon Feb 16 12:56:13 2009
@@ -800,7 +800,7 @@
 	}
 
 	if (session->write_codec) {
-		if (!ptime_mismatch && 
+		if (!ptime_mismatch && write_frame->codec && write_frame->codec->implementation &&
 			write_frame->codec->implementation->decoded_bytes_per_packet == session->write_impl.decoded_bytes_per_packet) {
 			perfect = TRUE;
 		}
    
    
More information about the Freeswitch-svn
mailing list