summaryrefslogtreecommitdiff
path: root/libavcodec/samidec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/samidec.c')
-rw-r--r--libavcodec/samidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/samidec.c b/libavcodec/samidec.c
index e32f238c62..62272f119b 100644
--- a/libavcodec/samidec.c
+++ b/libavcodec/samidec.c
@@ -180,7 +180,7 @@ static void sami_flush(AVCodecContext *avctx)
sami->readorder = 0;
}
-AVCodec ff_sami_decoder = {
+const AVCodec ff_sami_decoder = {
.name = "sami",
.long_name = NULL_IF_CONFIG_SMALL("SAMI subtitle"),
.type = AVMEDIA_TYPE_SUBTITLE,