[FFmpeg-devel] [PATCH] lavc: constify enums for .pix_fmts

Paul B Mahol onemda at gmail.com
Thu Jan 12 00:41:08 CET 2012


On 1/11/12, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Paul B Mahol <onemda <at> gmail.com> writes:
>
>> diff --git a/libavcodec/j2kdec.c b/libavcodec/j2kdec.c
>
>>      .pix_fmts =
>> -        (enum PixelFormat[]) {PIX_FMT_GRAY8, PIX_FMT_RGB24, PIX_FMT_NONE}
>
> Shouldn't this one be removed instead?

Please do.


More information about the ffmpeg-devel mailing list