openbsd-ports/x11/vlc/patches/patch-modules_demux_ogg_c
jolan 1479134daf update to 0.8.2
main diff from jsg@ with some tweaks from me
2005-07-31 19:07:10 +00:00

13 lines
566 B
Plaintext

$OpenBSD: patch-modules_demux_ogg_c,v 1.3 2005/07/31 19:07:11 jolan Exp $
--- modules/demux/ogg.c.orig Sat Jun 25 23:43:06 2005
+++ modules/demux/ogg.c Sun Jul 10 11:34:56 2005
@@ -1345,7 +1345,7 @@ static void Ogg_ReadAnnodexHeader( vlc_o
* the content-type (by the Annodex standard) */
if( !strncasecmp( &p_oggpacket->packet[28], "Content-Type: ", 14 ) )
{
- sscanf( &p_oggpacket->packet[42], "%1024s\r\n",
+ sscanf( &p_oggpacket->packet[42], "%1023s\r\n",
content_type_string );
}