summaryrefslogtreecommitdiff
path: root/libavcodec/targa.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/targa.c')
-rw-r--r--libavcodec/targa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/targa.c b/libavcodec/targa.c
index a61fef1d7b..3502636c16 100644
--- a/libavcodec/targa.c
+++ b/libavcodec/targa.c
@@ -297,7 +297,7 @@ static int decode_frame(AVCodecContext *avctx,
return avpkt->size;
}
-AVCodec ff_targa_decoder = {
+const AVCodec ff_targa_decoder = {
.name = "targa",
.long_name = NULL_IF_CONFIG_SMALL("Truevision Targa image"),
.type = AVMEDIA_TYPE_VIDEO,