summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/spu_dec/sputext_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spu_dec/sputext_decoder.c b/src/spu_dec/sputext_decoder.c
index 5db52b9d6..8421d8871 100644
--- a/src/spu_dec/sputext_decoder.c
+++ b/src/spu_dec/sputext_decoder.c
@@ -155,7 +155,7 @@ typedef struct sputext_decoder_s {
subtitle_size subtitle_size; /* size of subtitles */
int vertical_offset;
char font[FILENAME_MAX]; /* subtitle font */
- char *buf_encoding; /* encoding of subtitle buffer */
+ const char *buf_encoding; /* encoding of subtitle buffer */
int width; /* frame width */
int height; /* frame height */