aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-01-15 22:34:49 +0000
committerMans Rullgard <mans@mansr.com>2011-01-18 20:48:24 +0000
commita6e5d231e9e2d42a7441de71db309ce1710e9711 (patch)
tree8a1aed905b08e0fd3b874dc9f28b7c848dc1959d /libavcodec
parentef4a65149db95acc7271a425a2cd0d2259740c84 (diff)
downloadffmpeg-a6e5d231e9e2d42a7441de71db309ce1710e9711.tar.gz
a64enc: make PixelFormat arrays const
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/a64multienc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/a64multienc.c b/libavcodec/a64multienc.c
index d4659966aa..fa1209e5c5 100644
--- a/libavcodec/a64multienc.c
+++ b/libavcodec/a64multienc.c
@@ -370,7 +370,7 @@ AVCodec a64multi_encoder = {
.init = a64multi_init_encoder,
.encode = a64multi_encode_frame,
.close = a64multi_close_encoder,
- .pix_fmts = (enum PixelFormat[]) {PIX_FMT_GRAY8, PIX_FMT_NONE},
+ .pix_fmts = (const enum PixelFormat[]) {PIX_FMT_GRAY8, PIX_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64"),
.capabilities = CODEC_CAP_DELAY,
};
@@ -383,7 +383,7 @@ AVCodec a64multi5_encoder = {
.init = a64multi_init_encoder,
.encode = a64multi_encode_frame,
.close = a64multi_close_encoder,
- .pix_fmts = (enum PixelFormat[]) {PIX_FMT_GRAY8, PIX_FMT_NONE},
+ .pix_fmts = (const enum PixelFormat[]) {PIX_FMT_GRAY8, PIX_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64, extended with 5th color (colram)"),
.capabilities = CODEC_CAP_DELAY,
};