summaryrefslogtreecommitdiff
path: root/src/internal/subtitle/renderers/kitsubimage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/subtitle/renderers/kitsubimage.c')
-rw-r--r--src/internal/subtitle/renderers/kitsubimage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/internal/subtitle/renderers/kitsubimage.c b/src/internal/subtitle/renderers/kitsubimage.c
index 2edafc9..4cc14c4 100644
--- a/src/internal/subtitle/renderers/kitsubimage.c
+++ b/src/internal/subtitle/renderers/kitsubimage.c
@@ -14,7 +14,8 @@ static void ren_render_image_cb(Kit_SubtitleRenderer *ren, void *sub_src, double
assert(sub_src != NULL);
AVSubtitle *sub = sub_src;
- SDL_Surface *dst = NULL, *src = NULL;
+ SDL_Surface *dst = NULL;
+ SDL_Surface *src = NULL;
// If this subtitle has no rects, we still need to clear screen from old subs
if(sub->num_rects == 0) {