annotate libmpdemux/mf.h @ 25746:330af0160c2d

Fix code to prevent from accessing queue->packets[-1].pts that causes a crash. Found and patched by Reimar.
author ulion
date Thu, 17 Jan 2008 02:18:49 +0000
parents 3baf6a2283da
children cb07fc632de1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19300
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
1
23689
3f0d00abc073 Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents: 19300
diff changeset
2 #ifndef MF_H
3f0d00abc073 Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents: 19300
diff changeset
3 #define MF_H
19300
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
4
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
5 extern int mf_w;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
6 extern int mf_h;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
7 extern float mf_fps;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
8 extern char * mf_type;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
9
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
10 typedef struct
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
11 {
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
12 int curr_frame;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
13 int nr_of_files;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
14 char ** names;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
15 } mf_t;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
16
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
17 mf_t* open_mf(char * filename);
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
18
25535
3baf6a2283da Add explanatory comments to the #endif part of multiple inclusion guards.
diego
parents: 23689
diff changeset
19 #endif /* MF_H */