Make another PixelFormat list const.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
parent
91e7e6b721
commit
6f6ab1d9f3
@ -183,7 +183,7 @@ static int query_formats(AVFilterContext *ctx)
|
|||||||
return 0;
|
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_YUVA420P, PIX_FMT_ARGB, PIX_FMT_ABGR, PIX_FMT_RGBA,
|
||||||
PIX_FMT_BGRA, PIX_FMT_NONE
|
PIX_FMT_BGRA, PIX_FMT_NONE
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user