openbsd-ports/x11/vlc/patches/patch-modules_demux_ogg_c
2004-07-10 01:49:42 +00:00

13 lines
633 B
Plaintext

$OpenBSD: patch-modules_demux_ogg_c,v 1.1 2004/07/10 01:49:42 jolan Exp $
--- modules/demux/ogg.c.orig 2004-04-28 12:57:49.000000000 -0500
+++ modules/demux/ogg.c 2004-05-25 21:33:16.000000000 -0500
@@ -1379,7 +1379,7 @@ static void Ogg_ReadAnnodexHeader( vlc_o
/* we are guaranteed that the first header field will be
* the content-type (by the Annodex standard) */
- sscanf( &p_oggpacket->packet[28], "Content-Type: %1024s\r\n",
+ sscanf( &p_oggpacket->packet[28], "Content-Type: %1023s\r\n",
content_type_string );
p_stream->f_rate = (float) granule_rate_numerator /