Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
70b63419
Commit
70b63419
authored
May 06, 2014
by
Lukasz Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: use av_fifo_freep
Signed-off-by:
Lukasz Marek
<
lukasz.m.luki2@gmail.com
>
parent
351f6118
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
buffersink.c
libavfilter/buffersink.c
+1
-2
buffersrc.c
libavfilter/buffersrc.c
+1
-2
vf_fps.c
libavfilter/vf_fps.c
+1
-1
No files found.
libavfilter/buffersink.c
View file @
70b63419
...
...
@@ -76,8 +76,7 @@ static av_cold void uninit(AVFilterContext *ctx)
av_fifo_generic_read
(
sink
->
fifo
,
&
frame
,
sizeof
(
frame
),
NULL
);
av_frame_free
(
&
frame
);
}
av_fifo_free
(
sink
->
fifo
);
sink
->
fifo
=
NULL
;
av_fifo_freep
(
&
sink
->
fifo
);
}
}
...
...
libavfilter/buffersrc.c
View file @
70b63419
...
...
@@ -426,8 +426,7 @@ static av_cold void uninit(AVFilterContext *ctx)
av_fifo_generic_read
(
s
->
fifo
,
&
frame
,
sizeof
(
frame
),
NULL
);
av_frame_free
(
&
frame
);
}
av_fifo_free
(
s
->
fifo
);
s
->
fifo
=
NULL
;
av_fifo_freep
(
&
s
->
fifo
);
}
static
int
query_formats
(
AVFilterContext
*
ctx
)
...
...
libavfilter/vf_fps.c
View file @
70b63419
...
...
@@ -103,7 +103,7 @@ static av_cold void uninit(AVFilterContext *ctx)
if
(
s
->
fifo
)
{
s
->
drop
+=
av_fifo_size
(
s
->
fifo
)
/
sizeof
(
AVFrame
*
);
flush_fifo
(
s
->
fifo
);
av_fifo_free
(
s
->
fifo
);
av_fifo_free
p
(
&
s
->
fifo
);
}
av_log
(
ctx
,
AV_LOG_VERBOSE
,
"%d frames in, %d frames out; %d frames dropped, "
...
...
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