]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
small fix
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 28 Jun 2007 15:00:47 +0000 (15:00 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 28 Jun 2007 15:00:47 +0000 (15:00 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5484 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_dingaling/mod_dingaling.c

index 698a1a1cf2a438441e4ee1dba3b8a4ea426eb329..28a04ce8f85474aa99939e735a9dcf54bc99c1ee 100644 (file)
@@ -870,7 +870,7 @@ static int activate_rtp(struct private_object *tech_pvt)
                                                                                                 tech_pvt->remote_ip,
                                                                                                 tech_pvt->remote_port,
                                                                                                 tech_pvt->codec_num,
-                                                                                                tech_pvt->read_codec.implementation->encoded_bytes_per_frame,
+                                                                                                tech_pvt->read_codec.implementation->samples_per_frame,
                                                                                                 tech_pvt->read_codec.implementation->microseconds_per_frame,
                                                                                                 flags, NULL, tech_pvt->profile->timer_name, &err, switch_core_session_get_pool(tech_pvt->session)))) {
                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "RTP ERROR %s\n", err);