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
d7847333
Commit
d7847333
authored
Nov 05, 2011
by
Reimar Döffinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add const to static arrays where it was forgotten.
Signed-off-by:
Reimar Döffinger
<
Reimar.Doeffinger@gmx.de
>
parent
a010b56e
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
13 additions
and
13 deletions
+13
-13
af_aconvert.c
libavfilter/af_aconvert.c
+1
-1
asrc_aevalsrc.c
libavfilter/asrc_aevalsrc.c
+1
-1
vf_boxblur.c
libavfilter/vf_boxblur.c
+1
-1
vf_crop.c
libavfilter/vf_crop.c
+1
-1
vf_drawtext.c
libavfilter/vf_drawtext.c
+1
-1
vf_lut.c
libavfilter/vf_lut.c
+2
-2
vf_overlay.c
libavfilter/vf_overlay.c
+1
-1
vf_pad.c
libavfilter/vf_pad.c
+1
-1
vf_scale.c
libavfilter/vf_scale.c
+1
-1
vf_select.c
libavfilter/vf_select.c
+1
-1
vf_setpts.c
libavfilter/vf_setpts.c
+1
-1
vf_settb.c
libavfilter/vf_settb.c
+1
-1
No files found.
libavfilter/af_aconvert.c
View file @
d7847333
...
...
@@ -99,7 +99,7 @@ REMATRIX_FUNC_SIG(stereo_remix_planar)
REGISTER_FUNC_PACKING(INCHLAYOUT, OUTCHLAYOUT, FUNC##_packed, AVFILTER_PACKED) \
REGISTER_FUNC_PACKING(INCHLAYOUT, OUTCHLAYOUT, FUNC##_planar, AVFILTER_PLANAR)
static
struct
RematrixFunctionInfo
{
static
const
struct
RematrixFunctionInfo
{
int64_t
in_chlayout
,
out_chlayout
;
int
planar
,
sfmt
;
void
(
*
func
)();
...
...
libavfilter/asrc_aevalsrc.c
View file @
d7847333
...
...
@@ -31,7 +31,7 @@
#include "avfilter.h"
#include "internal.h"
static
const
char
*
var_names
[]
=
{
static
const
char
*
const
var_names
[]
=
{
"n"
,
///< number of frame
"t"
,
///< timestamp expressed in seconds
"s"
,
///< sample rate
...
...
libavfilter/vf_boxblur.c
View file @
d7847333
...
...
@@ -30,7 +30,7 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
static
const
char
*
var_names
[]
=
{
static
const
char
*
const
var_names
[]
=
{
"w"
,
"h"
,
"cw"
,
...
...
libavfilter/vf_crop.c
View file @
d7847333
...
...
@@ -32,7 +32,7 @@
#include "libavutil/imgutils.h"
#include "libavutil/mathematics.h"
static
const
char
*
var_names
[]
=
{
static
const
char
*
const
var_names
[]
=
{
"in_w"
,
"iw"
,
///< width of the input video
"in_h"
,
"ih"
,
///< height of the input video
"out_w"
,
"ow"
,
///< width of the cropped video
...
...
libavfilter/vf_drawtext.c
View file @
d7847333
...
...
@@ -46,7 +46,7 @@
#include FT_FREETYPE_H
#include FT_GLYPH_H
static
const
char
*
var_names
[]
=
{
static
const
char
*
const
var_names
[]
=
{
"w"
,
///< width of the input video
"h"
,
///< height of the input video
"tw"
,
"text_w"
,
///< width of the rendered text
...
...
libavfilter/vf_lut.c
View file @
d7847333
...
...
@@ -30,7 +30,7 @@
#include "avfilter.h"
#include "internal.h"
static
const
char
*
var_names
[]
=
{
static
const
char
*
const
var_names
[]
=
{
"w"
,
///< width of the input video
"h"
,
///< height of the input video
"val"
,
///< input value for the pixel
...
...
@@ -380,4 +380,4 @@ static int negate_init(AVFilterContext *ctx, const char *args, void *opaque)
DEFINE_LUT_FILTER
(
negate
,
"Negate input video."
,
negate_init
);
#endif
\ No newline at end of file
#endif
libavfilter/vf_overlay.c
View file @
d7847333
...
...
@@ -35,7 +35,7 @@
#include "internal.h"
#include "drawutils.h"
static
const
char
*
var_names
[]
=
{
static
const
char
*
const
var_names
[]
=
{
"main_w"
,
"W"
,
///< width of the main video
"main_h"
,
"H"
,
///< height of the main video
"overlay_w"
,
"w"
,
///< width of the overlay video
...
...
libavfilter/vf_pad.c
View file @
d7847333
...
...
@@ -35,7 +35,7 @@
#include "libavutil/mathematics.h"
#include "drawutils.h"
static
const
char
*
var_names
[]
=
{
static
const
char
*
const
var_names
[]
=
{
"in_w"
,
"iw"
,
"in_h"
,
"ih"
,
"out_w"
,
"ow"
,
...
...
libavfilter/vf_scale.c
View file @
d7847333
...
...
@@ -31,7 +31,7 @@
#include "libavutil/avassert.h"
#include "libswscale/swscale.h"
static
const
char
*
var_names
[]
=
{
static
const
char
*
const
var_names
[]
=
{
"in_w"
,
"iw"
,
"in_h"
,
"ih"
,
"out_w"
,
"ow"
,
...
...
libavfilter/vf_select.c
View file @
d7847333
...
...
@@ -27,7 +27,7 @@
#include "libavutil/fifo.h"
#include "avfilter.h"
static
const
char
*
var_names
[]
=
{
static
const
char
*
const
var_names
[]
=
{
"TB"
,
///< timebase
"pts"
,
///< original pts in the file of the frame
...
...
libavfilter/vf_setpts.c
View file @
d7847333
...
...
@@ -30,7 +30,7 @@
#include "libavutil/mathematics.h"
#include "avfilter.h"
static
const
char
*
var_names
[]
=
{
static
const
char
*
const
var_names
[]
=
{
"INTERLACED"
,
///< tell if the current frame is interlaced
"N"
,
///< frame number (starting at zero)
"POS"
,
///< original position in the file of the frame
...
...
libavfilter/vf_settb.c
View file @
d7847333
...
...
@@ -30,7 +30,7 @@
#include "avfilter.h"
#include "internal.h"
static
const
char
*
var_names
[]
=
{
static
const
char
*
const
var_names
[]
=
{
"AVTB"
,
/* default timebase 1/AV_TIME_BASE */
"intb"
,
/* input timebase */
NULL
...
...
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