Mercurial > mplayer.hg
changeset 24485:cb919d4b54e8
Minor simplifications
author | reimar |
---|---|
date | Fri, 14 Sep 2007 20:48:04 +0000 |
parents | cf224658fbe2 |
children | 20a8ee3f041a |
files | libmpdemux/demux_ty.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_ty.c Fri Sep 14 20:41:32 2007 +0000 +++ b/libmpdemux/demux_ty.c Fri Sep 14 20:48:04 2007 +0000 @@ -203,9 +203,9 @@ parts++; } - if (offset + skip >= totalsize) + offset += skip; + if (offset >= totalsize) break; - offset += skip; } tivo->tmf_totalparts = parts; mp_msg( MSGT_DEMUX, MSGL_DBG3, @@ -745,10 +745,10 @@ } // Collapse the Audio Buffer + tivo->lastAudioEnd -= esOffset2; memmove( &tivo->lastAudio[ 0 ], &tivo->lastAudio[ esOffset2 ], - tivo->lastAudioEnd - esOffset2 ); - tivo->lastAudioEnd -= esOffset2; + tivo->lastAudioEnd ); } } }