vc_image_helper: Avoid misaligned exception due to uninitialised pointer

The function parameters were extended without spotting another
user with their own local prototype.
Observed as misaligned exception when using video_render.
This commit is contained in:
popcornmix
2020-09-30 11:33:11 +01:00
parent f73fca015d
commit 7b6b0a9295

View File

@@ -258,6 +258,9 @@ int vc_image_get_mipmap_offset(VC_IMAGE_T *image, int miplvl);
#define VC_IMAGE_MIPMAP_LINEAR_TILE 1
int vc_image_get_mipmap_type(VC_IMAGE_T const *image, int miplvl);
/* Ensure required alignment for format */
long fix_alignment(VC_IMAGE_TYPE_T type, long value, VC_IMAGE_INFO_T *info);
#ifdef __cplusplus
}
#endif