off_t fields reordered, to avoid problems due to struct padding

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6225 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-05-29 17:14:38 +00:00
parent a55be5f2e8
commit 12758932b2
2 changed files with 6 additions and 7 deletions

View File

@ -96,13 +96,13 @@ typedef struct demuxer_info_st {
#define MAX_V_STREAMS 256
typedef struct demuxer_st {
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;
stream_t *stream;
int synced; // stream synced (used by mpeg)
int type; // demuxer type: mpeg PS, mpeg ES, avi, avi-ni, avi-nini, asf
int file_format; // file format: mpeg/avi/asf
int seekable; // flag
//
demux_stream_t *audio; // audio buffer/demuxer

View File

@ -35,11 +35,10 @@ void vcd_cache_init(int s);
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