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

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 12 00:36:44 CET 2012


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?

Carl Eugen



More information about the ffmpeg-devel mailing list