1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-01 20:00:37 +00:00

Minor simplifications

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24505 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-09-14 20:48:04 +00:00
parent 9bb5a91413
commit bf86cc9f87

View File

@ -203,9 +203,9 @@ static int ty_tmf_filetoparts( demuxer_t *demux, TiVoInfo *tivo )
parts++;
}
if (offset + skip >= totalsize)
break;
offset += skip;
if (offset >= totalsize)
break;
}
tivo->tmf_totalparts = parts;
mp_msg( MSGT_DEMUX, MSGL_DBG3,
@ -745,10 +745,10 @@ static int demux_ty_fill_buffer( demuxer_t *demux, demux_stream_t *dsds )
}
// Collapse the Audio Buffer
tivo->lastAudioEnd -= esOffset2;
memmove( &tivo->lastAudio[ 0 ],
&tivo->lastAudio[ esOffset2 ],
tivo->lastAudioEnd - esOffset2 );
tivo->lastAudioEnd -= esOffset2;
tivo->lastAudioEnd );
}
}
}