Mercurial > libavcodec.hg
comparison libschroedingerenc.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 | 09f2db2d7c90 |
children | 8a4984c5cacc |
comparison
equal
deleted
inserted
replaced
10145:7955db355703 | 10146:38cfe222e1a4 |
---|---|
412 sizeof(FfmpegSchroEncoderParams), | 412 sizeof(FfmpegSchroEncoderParams), |
413 libschroedinger_encode_init, | 413 libschroedinger_encode_init, |
414 libschroedinger_encode_frame, | 414 libschroedinger_encode_frame, |
415 libschroedinger_encode_close, | 415 libschroedinger_encode_close, |
416 .capabilities = CODEC_CAP_DELAY, | 416 .capabilities = CODEC_CAP_DELAY, |
417 .pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_NONE}, | 417 .pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_NONE}, |
418 .long_name = NULL_IF_CONFIG_SMALL("libschroedinger Dirac 2.2"), | 418 .long_name = NULL_IF_CONFIG_SMALL("libschroedinger Dirac 2.2"), |
419 }; | 419 }; |