summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/kitplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitplayer.c b/src/kitplayer.c
index 7ba283f..3cf0881 100644
--- a/src/kitplayer.c
+++ b/src/kitplayer.c
@@ -309,7 +309,7 @@ int Kit_GetPlayerSubtitleData(Kit_Player *player, SDL_Texture *texture, SDL_Rect
assert(targets != NULL);
assert(limit >= 0);
- Kit_Decoder *sub_dec = player->decoders[KIT_SUBTITLE_DEC];
+ const Kit_Decoder *sub_dec = player->decoders[KIT_SUBTITLE_DEC];
const Kit_Decoder *video_dec = player->decoders[KIT_VIDEO_DEC];
if(sub_dec == NULL || video_dec == NULL) {
return 0;