diff options
author | greg <greg@blackbox> | 2009-06-19 05:14:09 +0200 |
---|---|---|
committer | greg <greg@blackbox> | 2009-06-19 05:14:09 +0200 |
commit | 4213f6ae3df34d6551f314122075ce58d95a09b6 (patch) | |
tree | 2d8657cd2ede6306128ef88b1b0bc32c4c7c3da4 | |
parent | 457a9146ee07060a8c45b850a69ea5c6bbdae70e (diff) | |
download | libass-4213f6ae3df34d6551f314122075ce58d95a09b6.tar.bz2 libass-4213f6ae3df34d6551f314122075ce58d95a09b6.tar.xz |
ass_render.c: declare functions static
Declare some functions only used in this file static.
-rw-r--r-- | libass/ass_render.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c index f13f766..829716c 100644 --- a/libass/ass_render.c +++ b/libass/ass_render.c @@ -2186,7 +2186,7 @@ static int ass_render_event(ass_event_t* event, event_images_t* event_images) * \brief deallocate image list * \param img list pointer */ -void ass_free_images(ass_image_t* img) +static void ass_free_images(ass_image_t* img) { while (img) { ass_image_t* next = img->next; @@ -2495,7 +2495,7 @@ static void fix_collisions(event_images_t* imgs, int cnt) * \param i2 second image * \return 0 if identical, 1 if different positions, 2 if different content */ -int ass_image_compare(ass_image_t *i1, ass_image_t *i2) +static int ass_image_compare(ass_image_t *i1, ass_image_t *i2) { if (i1->w != i2->w) return 2; if (i1->h != i2->h) return 2; @@ -2513,7 +2513,7 @@ int ass_image_compare(ass_image_t *i1, ass_image_t *i2) * \param priv library handle * \return 0 if identical, 1 if different positions, 2 if different content */ -int ass_detect_change(ass_renderer_t *priv) +static int ass_detect_change(ass_renderer_t *priv) { ass_image_t* img, *img2; int diff; |