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
c0ca8408
Commit
c0ca8408
authored
Jun 22, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/buffer: remove unused function av_vsrc_buffer_add_frame_alt()
parent
39e019e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
buffersrc.c
libavfilter/buffersrc.c
+0
-19
No files found.
libavfilter/buffersrc.c
View file @
c0ca8408
...
@@ -112,25 +112,6 @@ static AVFilterBufferRef *copy_buffer_ref(AVFilterContext *ctx,
...
@@ -112,25 +112,6 @@ static AVFilterBufferRef *copy_buffer_ref(AVFilterContext *ctx,
return
buf
;
return
buf
;
}
}
#if FF_API_VSRC_BUFFER_ADD_FRAME
static
int
av_vsrc_buffer_add_frame_alt
(
AVFilterContext
*
buffer_filter
,
AVFrame
*
frame
,
int64_t
pts
,
AVRational
pixel_aspect
)
{
int64_t
orig_pts
=
frame
->
pts
;
AVRational
orig_sar
=
frame
->
sample_aspect_ratio
;
int
ret
;
frame
->
pts
=
pts
;
frame
->
sample_aspect_ratio
=
pixel_aspect
;
if
((
ret
=
av_buffersrc_write_frame
(
buffer_filter
,
frame
))
<
0
)
return
ret
;
frame
->
pts
=
orig_pts
;
frame
->
sample_aspect_ratio
=
orig_sar
;
return
0
;
}
#endif
int
av_buffersrc_add_frame
(
AVFilterContext
*
buffer_src
,
int
av_buffersrc_add_frame
(
AVFilterContext
*
buffer_src
,
const
AVFrame
*
frame
,
int
flags
)
const
AVFrame
*
frame
,
int
flags
)
{
{
...
...
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