mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01: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:
parent
190c166960
commit
067180220d
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue