comparison stream/stream_cdda.c @ 35881:b5abdfe9bc61

Replace some uses of off_t by uint64_t. This allows code that does not rely on lseek etc. to work even on systems that do not support 64 bit off_t yet. Signed-off-by: Reimar Dffinger <Reimar.Doeffinger@gmx.de>
author reimar
date Sat, 16 Mar 2013 10:09:12 +0000
parents bdc9f135ac26
children 3389262720da
comparison
equal deleted inserted replaced
35880:25429dbfa18e 35881:b5abdfe9bc61
168 168
169 169
170 return CD_FRAMESIZE_RAW; 170 return CD_FRAMESIZE_RAW;
171 } 171 }
172 172
173 static int seek(stream_t* s,off_t newpos) { 173 static int seek(stream_t* s, uint64_t newpos) {
174 cdda_priv* p = (cdda_priv*)s->priv; 174 cdda_priv* p = (cdda_priv*)s->priv;
175 cd_track_t *cd_track; 175 cd_track_t *cd_track;
176 int sec; 176 int sec;
177 int current_track=0, seeked_track=0; 177 int current_track=0, seeked_track=0;
178 int seek_to_track = 0; 178 int seek_to_track = 0;