1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Make the pix_fmts var in query_formats() static const.

Originally committed as revision 20343 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2009-10-21 21:04:53 +00:00
parent 190c166960
commit 067180220d

View File

@ -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,