diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-06-14 19:19:43 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-06-14 19:48:43 +0400 |
commit | 1b129c2abcd7f46c0b4364d2bada145ac5bfb689 (patch) | |
tree | 560885abf0906f404e386f11f3221647ee8b9427 /libavcodec | |
parent | 8ce0c7d2649b2ff8961d81538def1a73647d4d6c (diff) |
flashsv2enc: align codec declarations
While here constify enums for .pix_fmts.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/flashsv2enc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/flashsv2enc.c b/libavcodec/flashsv2enc.c index 8ab904616e..7502707966 100644 --- a/libavcodec/flashsv2enc.c +++ b/libavcodec/flashsv2enc.c @@ -912,7 +912,7 @@ AVCodec ff_flashsv2_encoder = { .init = flashsv2_encode_init, .encode2 = flashsv2_encode_frame, .close = flashsv2_encode_end, - .pix_fmts = (enum PixelFormat[]) {PIX_FMT_BGR24, PIX_FMT_NONE}, - .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video Version 2"), - .capabilities = CODEC_CAP_EXPERIMENTAL, + .pix_fmts = (const enum PixelFormat[]){ PIX_FMT_BGR24, PIX_FMT_NONE }, + .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video Version 2"), + .capabilities = CODEC_CAP_EXPERIMENTAL, }; |