comparison stream/stream_dvd.c @ 29920:4f740437ed2b

Finally rename the STREAM_SEEK define to MP_STREAM_SEEK, there are just too many name clashes, in particular with Windows headers (which define STREAM_SEEK as an enum type).
author reimar
date Sun, 22 Nov 2009 15:18:21 +0000
parents 32d288088a0f
children ce0122361a39
comparison
equal deleted inserted replaced
29919:df33ed3dbfa9 29920:4f740437ed2b
976 976
977 // ... (unimplemented) 977 // ... (unimplemented)
978 // return NULL; 978 // return NULL;
979 stream->type = STREAMTYPE_DVD; 979 stream->type = STREAMTYPE_DVD;
980 stream->sector_size = 2048; 980 stream->sector_size = 2048;
981 stream->flags = STREAM_READ | STREAM_SEEK; 981 stream->flags = STREAM_READ | MP_STREAM_SEEK;
982 stream->fill_buffer = fill_buffer; 982 stream->fill_buffer = fill_buffer;
983 stream->seek = seek; 983 stream->seek = seek;
984 stream->control = control; 984 stream->control = control;
985 stream->close = stream_dvd_close; 985 stream->close = stream_dvd_close;
986 stream->start_pos = (off_t)d->cur_pack*2048; 986 stream->start_pos = (off_t)d->cur_pack*2048;