10l, placed terminating 0 at the wrong place.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24469 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-09-14 16:12:33 +00:00
parent d85a609547
commit 55dac8bb6f
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ static int ty_tmf_filetoparts( demuxer_t *demux, TiVoInfo *tivo )
name = header;
name[99] = 0;
sizestr = &header[124];
sizestr[12] = 0;
sizestr[11] = 0;
size = strtol(sizestr, NULL, 8);
blocks = size / 512;