# HG changeset patch # User arpi # Date 1022692478 0 # Node ID 79b2b4c3c435399e3699de273e038445d7a325a4 # Parent 7833c711d62b8480a22c1147878fab7e5a7f1513 off_t fields reordered, to avoid problems due to struct padding diff -r 7833c711d62b -r 79b2b4c3c435 libmpdemux/demuxer.h --- a/libmpdemux/demuxer.h Wed May 29 00:32:52 2002 +0000 +++ b/libmpdemux/demuxer.h Wed May 29 17:14:38 2002 +0000 @@ -96,13 +96,13 @@ #define MAX_V_STREAMS 256 typedef struct demuxer_st { + off_t filepos; // input stream current pos. + off_t movi_start; + off_t movi_end; stream_t *stream; int synced; // stream synced (used by mpeg) - off_t filepos; // input stream current pos. int type; // demuxer type: mpeg PS, mpeg ES, avi, avi-ni, avi-nini, asf int file_format; // file format: mpeg/avi/asf - off_t movi_start; - off_t movi_end; int seekable; // flag // demux_stream_t *audio; // audio buffer/demuxer diff -r 7833c711d62b -r 79b2b4c3c435 libmpdemux/stream.h --- a/libmpdemux/stream.h Wed May 29 00:32:52 2002 +0000 +++ b/libmpdemux/stream.h Wed May 29 17:14:38 2002 +0000 @@ -35,11 +35,10 @@ typedef struct { int fd; - off_t pos; - int eof; int type; // 0=file 1=VCD unsigned int buf_pos,buf_len; - off_t start_pos,end_pos; + off_t pos,start_pos,end_pos; + int eof; unsigned int cache_pid; void* cache_data; void* priv; // used for DVD