[FFmpeg-cvslog] flashsv2enc: align codec declarations

Paul B Mahol git at videolan.org
Thu Jun 14 17:51:51 CEST 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Jun 14 15:19:43 2012 +0000| [1b129c2abcd7f46c0b4364d2bada145ac5bfb689] | committer: Paul B Mahol

flashsv2enc: align codec declarations

While here constify enums for .pix_fmts.

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1b129c2abcd7f46c0b4364d2bada145ac5bfb689
---

 libavcodec/flashsv2enc.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/flashsv2enc.c b/libavcodec/flashsv2enc.c
index 8ab9046..7502707 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,
 };



More information about the ffmpeg-cvslog mailing list