typo fix
[mplayer/greg.git] / libmpdemux / parse_es.h
blobfceed0c895c08e06987d458780d3f9528e14d187
1 #ifndef PARSE_ES_H
2 #define PARSE_ES_H
4 #define MAX_VIDEO_PACKET_SIZE (224*1024+4)
5 #define VIDEOBUFFER_SIZE 0x100000
7 extern unsigned char* videobuffer;
8 extern int videobuf_len;
9 extern unsigned char videobuf_code[4];
10 extern int videobuf_code_len;
12 // sync video stream, and returns next packet code
13 int sync_video_packet(demux_stream_t *ds);
15 // return: packet length
16 int read_video_packet(demux_stream_t *ds);
18 // return: next packet code
19 int skip_video_packet(demux_stream_t *ds);
21 #endif /* PARSE_ES_H */