From 03081c43eea7914dd9008f6042abcb06ee76a1fe Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Fri, 27 Sep 2013 10:01:31 +0300 Subject: Added const --- src/spu_dec/sputext_decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 */ -- cgit v1.2.3