Mercurial > libavcodec.hg
comparison tiffenc.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 | 266bf83f634d |
children | e15eb76d9e47 |
comparison
equal
deleted
inserted
replaced
10145:7955db355703 | 10146:38cfe222e1a4 |
---|---|
450 NULL, | 450 NULL, |
451 NULL, | 451 NULL, |
452 0, | 452 0, |
453 NULL, | 453 NULL, |
454 .pix_fmts = | 454 .pix_fmts = |
455 (enum PixelFormat[]) {PIX_FMT_RGB24, PIX_FMT_PAL8, PIX_FMT_GRAY8, | 455 (const enum PixelFormat[]) {PIX_FMT_RGB24, PIX_FMT_PAL8, PIX_FMT_GRAY8, |
456 PIX_FMT_MONOBLACK, PIX_FMT_MONOWHITE, | 456 PIX_FMT_MONOBLACK, PIX_FMT_MONOWHITE, |
457 PIX_FMT_YUV420P, PIX_FMT_YUV422P, | 457 PIX_FMT_YUV420P, PIX_FMT_YUV422P, |
458 PIX_FMT_YUV444P, PIX_FMT_YUV410P, | 458 PIX_FMT_YUV444P, PIX_FMT_YUV410P, |
459 PIX_FMT_YUV411P, | 459 PIX_FMT_YUV411P, |
460 PIX_FMT_NONE}, | 460 PIX_FMT_NONE}, |