1 #ifndef MPLAYER_PARSE_ES_H
2 #define MPLAYER_PARSE_ES_H
6 #define MAX_VIDEO_PACKET_SIZE (224*1024+4)
7 #define VIDEOBUFFER_SIZE 0x100000
9 extern unsigned char* videobuffer
;
10 extern int videobuf_len
;
11 extern unsigned char videobuf_code
[4];
12 extern int videobuf_code_len
;
14 // sync video stream, and returns next packet code
15 int sync_video_packet(demux_stream_t
*ds
);
17 // return: packet length
18 int read_video_packet(demux_stream_t
*ds
);
20 // return: next packet code
21 int skip_video_packet(demux_stream_t
*ds
);
23 #endif /* MPLAYER_PARSE_ES_H */