[xiph-commits] r8867 - trunk/xiph-rtp
giles at motherfish-iii.xiph.org
giles at motherfish-iii.xiph.org
Mon Feb 7 14:17:21 PST 2005
Author: giles
Date: 2005-02-07 14:17:20 -0800 (Mon, 07 Feb 2005)
New Revision: 8867
Modified:
trunk/xiph-rtp/vorbisrtp.c
Log:
Fix another off-by-one. With an 8 bit vorbis data blocklength, we have
to cut at 255, not 256.
Modified: trunk/xiph-rtp/vorbisrtp.c
===================================================================
--- trunk/xiph-rtp/vorbisrtp.c 2005-02-07 22:06:36 UTC (rev 8866)
+++ trunk/xiph-rtp/vorbisrtp.c 2005-02-07 22:17:20 UTC (rev 8867)
@@ -330,7 +330,7 @@
unsigned char framesize;
unsigned char *packet;
- const unsigned int max_payload = 256;
+ const unsigned int max_payload = 255;
/* we accumulate short frames between calls */
static int stacksize = 0;
More information about the commits
mailing list