mirror of https://github.com/mpv-player/mpv
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:
parent
d85a609547
commit
55dac8bb6f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue