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
7331b6e7
Commit
7331b6e7
authored
Feb 10, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop some completely unnecessary av_unused attributes.
parent
92fed113
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
7 deletions
+5
-7
vf_gradfun.c
libavfilter/vf_gradfun.c
+1
-1
vf_yadif.c
libavfilter/vf_yadif.c
+1
-1
nsvdec.c
libavformat/nsvdec.c
+1
-1
output.c
libswscale/output.c
+2
-4
No files found.
libavfilter/vf_gradfun.c
View file @
7331b6e7
...
@@ -120,7 +120,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
...
@@ -120,7 +120,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
GradFunContext
*
gf
=
ctx
->
priv
;
GradFunContext
*
gf
=
ctx
->
priv
;
float
thresh
=
1
.
2
;
float
thresh
=
1
.
2
;
int
radius
=
16
;
int
radius
=
16
;
av_unused
int
cpu_flags
=
av_get_cpu_flags
();
int
cpu_flags
=
av_get_cpu_flags
();
if
(
args
)
if
(
args
)
sscanf
(
args
,
"%f:%d"
,
&
thresh
,
&
radius
);
sscanf
(
args
,
"%f:%d"
,
&
thresh
,
&
radius
);
...
...
libavfilter/vf_yadif.c
View file @
7331b6e7
...
@@ -372,7 +372,7 @@ static int query_formats(AVFilterContext *ctx)
...
@@ -372,7 +372,7 @@ static int query_formats(AVFilterContext *ctx)
static
av_cold
int
init
(
AVFilterContext
*
ctx
,
const
char
*
args
,
void
*
opaque
)
static
av_cold
int
init
(
AVFilterContext
*
ctx
,
const
char
*
args
,
void
*
opaque
)
{
{
YADIFContext
*
yadif
=
ctx
->
priv
;
YADIFContext
*
yadif
=
ctx
->
priv
;
av_unused
int
cpu_flags
=
av_get_cpu_flags
();
int
cpu_flags
=
av_get_cpu_flags
();
yadif
->
mode
=
0
;
yadif
->
mode
=
0
;
yadif
->
parity
=
-
1
;
yadif
->
parity
=
-
1
;
...
...
libavformat/nsvdec.c
View file @
7331b6e7
...
@@ -273,7 +273,7 @@ static int nsv_parse_NSVf_header(AVFormatContext *s)
...
@@ -273,7 +273,7 @@ static int nsv_parse_NSVf_header(AVFormatContext *s)
{
{
NSVContext
*
nsv
=
s
->
priv_data
;
NSVContext
*
nsv
=
s
->
priv_data
;
AVIOContext
*
pb
=
s
->
pb
;
AVIOContext
*
pb
=
s
->
pb
;
unsigned
int
av_unused
file_size
;
unsigned
int
file_size
;
unsigned
int
size
;
unsigned
int
size
;
int64_t
duration
;
int64_t
duration
;
int
strings_size
;
int
strings_size
;
...
...
libswscale/output.c
View file @
7331b6e7
...
@@ -899,12 +899,11 @@ yuv2rgb_X_c_template(SwsContext *c, const int16_t *lumFilter,
...
@@ -899,12 +899,11 @@ yuv2rgb_X_c_template(SwsContext *c, const int16_t *lumFilter,
int
i
;
int
i
;
for
(
i
=
0
;
i
<
(
dstW
>>
1
);
i
++
)
{
for
(
i
=
0
;
i
<
(
dstW
>>
1
);
i
++
)
{
int
j
;
int
j
,
A1
,
A2
;
int
Y1
=
1
<<
18
;
int
Y1
=
1
<<
18
;
int
Y2
=
1
<<
18
;
int
Y2
=
1
<<
18
;
int
U
=
1
<<
18
;
int
U
=
1
<<
18
;
int
V
=
1
<<
18
;
int
V
=
1
<<
18
;
int
av_unused
A1
,
A2
;
const
void
*
r
,
*
g
,
*
b
;
const
void
*
r
,
*
g
,
*
b
;
for
(
j
=
0
;
j
<
lumFilterSize
;
j
++
)
{
for
(
j
=
0
;
j
<
lumFilterSize
;
j
++
)
{
...
@@ -1106,8 +1105,7 @@ yuv2rgb_full_X_c_template(SwsContext *c, const int16_t *lumFilter,
...
@@ -1106,8 +1105,7 @@ yuv2rgb_full_X_c_template(SwsContext *c, const int16_t *lumFilter,
int
Y
=
0
;
int
Y
=
0
;
int
U
=
-
128
<<
19
;
int
U
=
-
128
<<
19
;
int
V
=
-
128
<<
19
;
int
V
=
-
128
<<
19
;
int
av_unused
A
;
int
R
,
G
,
B
,
A
;
int
R
,
G
,
B
;
for
(
j
=
0
;
j
<
lumFilterSize
;
j
++
)
{
for
(
j
=
0
;
j
<
lumFilterSize
;
j
++
)
{
Y
+=
lumSrc
[
j
][
i
]
*
lumFilter
[
j
];
Y
+=
lumSrc
[
j
][
i
]
*
lumFilter
[
j
];
...
...
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