From 6e9cbdc10448203e7c8b2de41447442fcc9f7bae Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 13 May 2009 02:58:57 +0000 Subject: whitespace cosmetics: Remove all trailing whitespace. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream_cdda.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'stream/stream_cdda.c') diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c index a7555dc7b4..2403e85cd4 100644 --- a/stream/stream_cdda.c +++ b/stream/stream_cdda.c @@ -182,7 +182,7 @@ static int open_cdda(stream_t *st,int m, void* opts, int* file_format) { } } #endif - + #ifndef CONFIG_LIBCDIO if(p->generic_dev) cdd = cdda_identify_scsi(p->generic_dev,p->device,0,NULL); @@ -280,7 +280,7 @@ static int open_cdda(stream_t *st,int m, void* opts, int* file_format) { mode = PARANOIA_MODE_OVERLAP; else mode = PARANOIA_MODE_FULL; - + if(p->no_skip) mode |= PARANOIA_MODE_NEVERSKIP; #ifndef CONFIG_LIBCDIO @@ -336,7 +336,7 @@ static int fill_buffer(stream_t* s, char* buffer, int max_len) { cd_track_t *cd_track; int16_t * buf; int i; - + if((p->sector < p->start_sector) || (p->sector > p->end_sector)) { s->eof = 1; return 0; @@ -346,7 +346,7 @@ static int fill_buffer(stream_t* s, char* buffer, int max_len) { if (!buf) return 0; -#ifdef WORDS_BIGENDIAN +#ifdef WORDS_BIGENDIAN for(i=0;icd_info, i+1); //printf("Track %d, sector=%d\n", i, p->sector-1); if( cd_track!=NULL ) { - mp_msg(MSGT_SEEK, MSGL_INFO, "\n%s\n", cd_track->name); + mp_msg(MSGT_SEEK, MSGL_INFO, "\n%s\n", cd_track->name); mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_CDDA_TRACK=%d\n", cd_track->track_nb); } break; } } - + return CD_FRAMESIZE_RAW; } @@ -377,7 +377,7 @@ static int seek(stream_t* s,off_t newpos) { int current_track=0, seeked_track=0; int seek_to_track = 0; int i; - + s->pos = newpos; sec = s->pos/CD_FRAMESIZE_RAW; if (s->pos < 0 || sec > p->end_sector) { @@ -387,7 +387,7 @@ static int seek(stream_t* s,off_t newpos) { //printf("pos: %d, sec: %d ## %d\n", (int)s->pos, (int)sec, CD_FRAMESIZE_RAW); //printf("sector: %d new: %d\n", p->sector, sec ); - + for(i=0;icd->tracks;i++){ // printf("trk #%d: %d .. %d\n",i,p->cd->disc_toc[i].dwStartSector,p->cd->disc_toc[i+1].dwStartSector); if( p->sector>=p->cd->disc_toc[i].dwStartSector && p->sectorcd->disc_toc[i+1].dwStartSector ) { -- cgit v1.2.3