comparison libmpdemux/demux_ty.c @ 24485:cb919d4b54e8

Minor simplifications
author reimar
date Fri, 14 Sep 2007 20:48:04 +0000
parents cf224658fbe2
children 20a8ee3f041a
comparison
equal deleted inserted replaced
24484:cf224658fbe2 24485:cb919d4b54e8
201 tivo->tmfparts[ parts ].startOffset 201 tivo->tmfparts[ parts ].startOffset
202 ); 202 );
203 parts++; 203 parts++;
204 } 204 }
205 205
206 if (offset + skip >= totalsize) 206 offset += skip;
207 if (offset >= totalsize)
207 break; 208 break;
208 offset += skip;
209 } 209 }
210 tivo->tmf_totalparts = parts; 210 tivo->tmf_totalparts = parts;
211 mp_msg( MSGT_DEMUX, MSGL_DBG3, 211 mp_msg( MSGT_DEMUX, MSGL_DBG3,
212 "tmf_filetoparts(): No More Part Files %d\n", parts ); 212 "tmf_filetoparts(): No More Part Files %d\n", parts );
213 213
743 ); 743 );
744 744
745 } 745 }
746 746
747 // Collapse the Audio Buffer 747 // Collapse the Audio Buffer
748 tivo->lastAudioEnd -= esOffset2;
748 memmove( &tivo->lastAudio[ 0 ], 749 memmove( &tivo->lastAudio[ 0 ],
749 &tivo->lastAudio[ esOffset2 ], 750 &tivo->lastAudio[ esOffset2 ],
750 tivo->lastAudioEnd - esOffset2 ); 751 tivo->lastAudioEnd );
751 tivo->lastAudioEnd -= esOffset2;
752 } 752 }
753 } 753 }
754 } 754 }
755 755
756 offset += size; 756 offset += size;