[xiph-commits] r8859 - trunk/xiph-rtp
giles at motherfish-iii.xiph.org
giles at motherfish-iii.xiph.org
Mon Feb 7 11:46:21 PST 2005
Author: giles
Date: 2005-02-07 11:46:21 -0800 (Mon, 07 Feb 2005)
New Revision: 8859
Modified:
trunk/xiph-rtp/vorbisrtp-client.c
Log:
Don't print underflow errors on fragmented packets.
Modified: trunk/xiph-rtp/vorbisrtp-client.c
===================================================================
--- trunk/xiph-rtp/vorbisrtp-client.c 2005-02-07 18:50:47 UTC (rev 8858)
+++ trunk/xiph-rtp/vorbisrtp-client.c 2005-02-07 19:46:21 UTC (rev 8859)
@@ -140,6 +140,12 @@
fprintf(out, " data: %d bytes in block %d\n", length, i);
offset += length;
}
+ if (pkts == 0) {
+ length = data[offset++];
+ fprintf(out, " data: %d bytes in fragment\n", length);
+ offset += length;
+ }
+
if (len - offset > 0)
fprintf(out, " %d unused bytes at the end of the packet!\n",
len - offset);
More information about the commits
mailing list