diff svq3.c @ 10146:38cfe222e1a4 libavcodec

Mark all pix_fmts and supported_framerates compound literals as const. Makes no difference for gcc but at least icc can put them in .rodata then.
author reimar
date Sun, 06 Sep 2009 16:09:21 +0000
parents 617166c76faf
children 6cd8b6fd5f0f
line wrap: on
line diff
--- a/svq3.c	Sun Sep 06 09:15:07 2009 +0000
+++ b/svq3.c	Sun Sep 06 16:09:21 2009 +0000
@@ -1062,5 +1062,5 @@
     svq3_decode_frame,
     CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_DELAY,
     .long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 3"),
-    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUVJ420P, PIX_FMT_NONE},
+    .pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUVJ420P, PIX_FMT_NONE},
 };