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
549ef6ef
Commit
549ef6ef
authored
Sep 12, 2017
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/framesync: remove dead code.
Fix CID 1416960.
parent
9bad5e53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
framesync.c
libavfilter/framesync.c
+1
-3
No files found.
libavfilter/framesync.c
View file @
549ef6ef
...
...
@@ -380,15 +380,13 @@ int ff_framesync_dualinput_get(FFFrameSync *fs, AVFrame **f0, AVFrame **f1)
{
AVFilterContext
*
ctx
=
fs
->
parent
;
AVFrame
*
mainpic
=
NULL
,
*
secondpic
=
NULL
;
int
ret
=
0
;
int
ret
;
if
((
ret
=
ff_framesync_get_frame
(
fs
,
0
,
&
mainpic
,
1
))
<
0
||
(
ret
=
ff_framesync_get_frame
(
fs
,
1
,
&
secondpic
,
0
))
<
0
)
{
av_frame_free
(
&
mainpic
);
return
ret
;
}
if
(
ret
<
0
)
return
ret
;
av_assert0
(
mainpic
);
mainpic
->
pts
=
av_rescale_q
(
fs
->
pts
,
fs
->
time_base
,
ctx
->
outputs
[
0
]
->
time_base
);
if
(
ctx
->
is_disabled
)
...
...
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