diff options
Diffstat (limited to 'mp_image.h')
-rw-r--r-- | mp_image.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mp_image.h b/mp_image.h index 72a2e73511..543149df86 100644 --- a/mp_image.h +++ b/mp_image.h @@ -1,3 +1,5 @@ +#ifndef __MP_IMAGE_H +#define __MP_IMAGE_H 1 // set if buffer content shouldn't be modified: #define MP_IMGFLAG_PRESERVE 0x01 @@ -87,3 +89,5 @@ static inline mp_image_t* new_mp_image(int w,int h){ mpi->height=mpi->h=h; return mpi; } + +#endif |