Make another PixelFormat list const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
Reimar Döffinger 2011-11-05 15:22:45 +01:00
parent 91e7e6b721
commit 6f6ab1d9f3

View File

@ -183,7 +183,7 @@ static int query_formats(AVFilterContext *ctx)
return 0;
}
static enum PixelFormat alpha_pix_fmts[] = {
static const enum PixelFormat alpha_pix_fmts[] = {
PIX_FMT_YUVA420P, PIX_FMT_ARGB, PIX_FMT_ABGR, PIX_FMT_RGBA,
PIX_FMT_BGRA, PIX_FMT_NONE
};