diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-01-11 21:30:43 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-12 16:32:55 +0100 |
commit | 3e8a368b2bd0e75ea0beda21905ad9980a969d00 (patch) | |
tree | 855c417701b11a531b9bd492fdb54310d3a3fbca /libavcodec/j2kenc.c | |
parent | bd36ec55bef7c446079e192655d065fd86483876 (diff) | |
download | ffmpeg-3e8a368b2bd0e75ea0beda21905ad9980a969d00.tar.gz |
lavc: constify enums for .pix_fmts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/j2kenc.c')
-rw-r--r-- | libavcodec/j2kenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c index 37e31a9c69..7f8fdf14a0 100644 --- a/libavcodec/j2kenc.c +++ b/libavcodec/j2kenc.c @@ -1046,7 +1046,7 @@ AVCodec ff_jpeg2000_encoder = { .capabilities= CODEC_CAP_EXPERIMENTAL, .long_name = NULL_IF_CONFIG_SMALL("JPEG 2000"), .pix_fmts = - (enum PixelFormat[]) {PIX_FMT_RGB24, PIX_FMT_YUV444P, PIX_FMT_GRAY8, + (const enum PixelFormat[]) {PIX_FMT_RGB24, PIX_FMT_YUV444P, PIX_FMT_GRAY8, /* PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_YUV410P, PIX_FMT_YUV411P,*/ |