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
7f57ea14
Commit
7f57ea14
authored
Nov 24, 2015
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vsrc_color: Drop unneeded variable
Bug-Id: CID 1339818
parent
ca5f386e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
vsrc_color.c
libavfilter/vsrc_color.c
+1
-3
No files found.
libavfilter/vsrc_color.c
View file @
7f57ea14
...
...
@@ -57,7 +57,6 @@ typedef struct ColorContext {
static
av_cold
int
color_init
(
AVFilterContext
*
ctx
)
{
ColorContext
*
color
=
ctx
->
priv
;
AVRational
frame_rate_q
;
int
ret
;
if
(
av_parse_video_size
(
&
color
->
w
,
&
color
->
h
,
color
->
size_str
)
<
0
)
{
...
...
@@ -65,8 +64,7 @@ static av_cold int color_init(AVFilterContext *ctx)
return
AVERROR
(
EINVAL
);
}
if
(
av_parse_video_rate
(
&
color
->
frame_rate
,
color
->
framerate_str
)
<
0
||
frame_rate_q
.
den
<=
0
||
frame_rate_q
.
num
<=
0
)
{
if
(
av_parse_video_rate
(
&
color
->
frame_rate
,
color
->
framerate_str
)
<
0
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Invalid frame rate: %s
\n
"
,
color
->
framerate_str
);
return
AVERROR
(
EINVAL
);
}
...
...
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