2 #define MAX_VIDEO_PACKET_SIZE (224*1024+4)
3 #define VIDEOBUFFER_SIZE 0x100000
5 extern unsigned char* videobuffer
;
6 extern int videobuf_len
;
7 extern unsigned char videobuf_code
[4];
8 extern int videobuf_code_len
;
10 // sync video stream, and returns next packet code
11 int sync_video_packet(demux_stream_t
*ds
);
13 // return: packet length
14 int read_video_packet(demux_stream_t
*ds
);
16 // return: next packet code
17 int skip_video_packet(demux_stream_t
*ds
);