Mercurial > mplayer.hg
annotate osdep/shmem.h @ 35967:76d4f38ffdf9
Fix crash with file selector after pressing OK.
The crash would occur with the "dot directory" selected and pressing OK
when previously either the "directory up" button or OK (to refresh the
file list) has been pressed.
author | ib |
---|---|
date | Wed, 27 Mar 2013 18:56:13 +0000 |
parents | d5e1a1ad86b8 |
children |
rev | line source |
---|---|
28744 | 1 /* |
2 * This file is part of MPlayer. | |
3 * | |
4 * MPlayer is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
8 * | |
9 * MPlayer is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License along | |
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., | |
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
17 */ | |
18 | |
26029 | 19 #ifndef MPLAYER_SHMEM_H |
20 #define MPLAYER_SHMEM_H | |
1 | 21 |
34711 | 22 #include <stdint.h> |
34710
749da4b0c32a
Put #include <inttypes.h> into the header file where it should be.
ib
parents:
34704
diff
changeset
|
23 |
34704 | 24 void* shmem_alloc(int64_t size); |
25 void shmem_free(void* p,int64_t size); | |
1 | 26 |
26029 | 27 #endif /* MPLAYER_SHMEM_H */ |