[FFmpeg-cvslog] r20343 - trunk/libavfilter/vf_crop.c
Stefano Sabatini
stefano.sabatini-lala
Wed Oct 21 23:06:14 CEST 2009
On date Wednesday 2009-10-21 23:04:53 +0200, stefano wrote:
> Author: stefano
> Date: Wed Oct 21 23:04:53 2009
> New Revision: 20343
>
> Log:
> Make the pix_fmts var in query_formats() static const.
>
> Modified:
> trunk/libavfilter/vf_crop.c
>
> Modified: trunk/libavfilter/vf_crop.c
> ==============================================================================
> --- trunk/libavfilter/vf_crop.c Wed Oct 21 22:57:30 2009 (r20342)
> +++ trunk/libavfilter/vf_crop.c Wed Oct 21 23:04:53 2009 (r20343)
> @@ -37,7 +37,7 @@ typedef struct {
>
> static int query_formats(AVFilterContext *ctx)
> {
> - enum PixelFormat pix_fmts[] = {
> + static const enum PixelFormat pix_fmts[] = {
> PIX_FMT_RGB48BE, PIX_FMT_RGB48LE,
> PIX_FMT_ARGB, PIX_FMT_RGBA,
> PIX_FMT_ABGR, PIX_FMT_BGRA,
1.5l;) sorry for the commit spam, I forgot to copy after the various tests.
Regards.
More information about the ffmpeg-cvslog
mailing list