|
From: <bc...@us...> - 2010-01-29 14:42:41
|
Revision: 1458
http://iaxclient.svn.sourceforge.net/iaxclient/?rev=1458&view=rev
Author: bcholew
Date: 2010-01-29 14:42:28 +0000 (Fri, 29 Jan 2010)
Log Message:
-----------
Oops. Get the frames_dropped count right.
Modified Paths:
--------------
trunk/lib/slice.c
Modified: trunk/lib/slice.c
===================================================================
--- trunk/lib/slice.c 2010-01-28 22:10:28 UTC (rev 1457)
+++ trunk/lib/slice.c 2010-01-29 14:42:28 UTC (rev 1458)
@@ -141,11 +141,14 @@
/* Slice belongs to a new frame */
dsc->frame_index = frame_index;
+ *frames_dropped += frame_delta - 1;
+
if ( dsc->slice_count > 0 )
{
/* Current frame is incomplete, drop it */
reset_deslicer_context(dsc);
- *frames_dropped += frame_delta;
+
+ *frames_dropped += 1;
}
}
} else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|