1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 03:32:50 +00:00

Get rid of quite useless inum variable

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25731 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-01-13 15:01:07 +00:00
parent b58f5adbfd
commit 8317c84904

View File

@ -98,7 +98,6 @@ static int nTracks = 0;
/* presumes Line is preloaded with the "current" line of the file */
static int cue_getTrackinfo(char *Line, tTrack *track)
{
char inum[3];
char min;
char sec;
char fps;
@ -132,9 +131,9 @@ static int cue_getTrackinfo(char *Line, tTrack *track)
if (strncmp(&Line[4], "INDEX ", 6)==0)
{
/* check stuff here so if the answer is false the else stuff below won't be executed */
strncpy(inum, &Line[10], 2); inum[2] = '\0';
Line[12] = 0;
if ((already_set == 0) &&
((strcmp(inum, "00")==0) || (strcmp(inum, "01")==0)))
((strcmp(&Line[10], "00")==0) || (strcmp(&Line[10], "01")==0)))
{
already_set = 1;