Mercurial > mplayer.hg
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 |
rev | line source |
---|---|
19300 | 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 | 4 |
5 extern int mf_w; | |
6 extern int mf_h; | |
7 extern float mf_fps; | |
8 extern char * mf_type; | |
9 | |
10 typedef struct | |
11 { | |
12 int curr_frame; | |
13 int nr_of_files; | |
14 char ** names; | |
15 } mf_t; | |
16 | |
17 mf_t* open_mf(char * filename); | |
18 | |
25535
3baf6a2283da
Add explanatory comments to the #endif part of multiple inclusion guards.
diego
parents:
23689
diff
changeset
|
19 #endif /* MF_H */ |