Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
c9a4ec79
Commit
c9a4ec79
authored
Aug 29, 2014
by
Reimar Döffinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: add const/static const to pix_fmts arrays.
Signed-off-by:
Reimar Döffinger
<
Reimar.Doeffinger@gmx.de
>
parent
18464d72
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
vf_blackdetect.c
libavfilter/vf_blackdetect.c
+1
-1
vf_lenscorrection.c
libavfilter/vf_lenscorrection.c
+1
-1
vf_signalstats.c
libavfilter/vf_signalstats.c
+1
-1
vf_tinterlace.c
libavfilter/vf_tinterlace.c
+1
-1
No files found.
libavfilter/vf_blackdetect.c
View file @
c9a4ec79
...
...
@@ -64,7 +64,7 @@ AVFILTER_DEFINE_CLASS(blackdetect);
#define YUVJ_FORMATS \
AV_PIX_FMT_YUVJ411P, AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ440P
static
enum
AVPixelFormat
yuvj_formats
[]
=
{
static
const
enum
AVPixelFormat
yuvj_formats
[]
=
{
YUVJ_FORMATS
,
AV_PIX_FMT_NONE
};
...
...
libavfilter/vf_lenscorrection.c
View file @
c9a4ec79
...
...
@@ -98,7 +98,7 @@ static int filter_slice(AVFilterContext *ctx, void *arg, int job, int nb_jobs)
static
int
query_formats
(
AVFilterContext
*
ctx
)
{
static
enum
AVPixelFormat
pix_fmts
[]
=
{
static
const
enum
AVPixelFormat
pix_fmts
[]
=
{
AV_PIX_FMT_YUV410P
,
AV_PIX_FMT_YUV444P
,
AV_PIX_FMT_YUVJ444P
,
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_YUVJ420P
,
...
...
libavfilter/vf_signalstats.c
View file @
c9a4ec79
...
...
@@ -94,7 +94,7 @@ static av_cold void uninit(AVFilterContext *ctx)
static
int
query_formats
(
AVFilterContext
*
ctx
)
{
// TODO: add more
enum
AVPixelFormat
pix_fmts
[]
=
{
static
const
enum
AVPixelFormat
pix_fmts
[]
=
{
AV_PIX_FMT_YUV444P
,
AV_PIX_FMT_YUV422P
,
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_YUV411P
,
AV_PIX_FMT_NONE
};
...
...
libavfilter/vf_tinterlace.c
View file @
c9a4ec79
...
...
@@ -80,7 +80,7 @@ AVFILTER_DEFINE_CLASS(tinterlace);
#define FULL_SCALE_YUVJ_FORMATS \
AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ440P
static
enum
AVPixelFormat
full_scale_yuvj_pix_fmts
[]
=
{
static
const
enum
AVPixelFormat
full_scale_yuvj_pix_fmts
[]
=
{
FULL_SCALE_YUVJ_FORMATS
,
AV_PIX_FMT_NONE
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment