changeset 24449:1007f99949af

10l, placed terminating 0 at the wrong place.
author reimar
date Fri, 14 Sep 2007 16:12:33 +0000
parents 044d3ec97bf7
children d8b25c8a4ea4
files libmpdemux/demux_ty.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ty.c	Fri Sep 14 16:12:02 2007 +0000
+++ b/libmpdemux/demux_ty.c	Fri Sep 14 16:12:33 2007 +0000
@@ -182,7 +182,7 @@
       name = header;
       name[99] = 0;
       sizestr = &header[124];
-      sizestr[12] = 0;
+      sizestr[11] = 0;
       size = strtol(sizestr, NULL, 8);
 
       blocks = size / 512;