summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTuomas Virtanen <katajakasa@gmail.com>2020-05-02 03:28:04 +0300
committerTuomas Virtanen <katajakasa@gmail.com>2020-05-02 03:28:04 +0300
commitaefdf1b2540d8fe9ff7b323cb804a1ec025ad521 (patch)
tree2542855ed34b83751c83520b754554df963cded9 /src
parenteaea91975a9a220a76291e54f3725ca61586c3a9 (diff)
One more const addition
Diffstat (limited to 'src')
-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;