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
5e4bc964
Commit
5e4bc964
authored
Mar 09, 2013
by
Clément Bœsch
Committed by
Michael Niedermayer
Mar 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: fix examples.
parent
b1b506bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
filtering_audio.c
doc/examples/filtering_audio.c
+1
-1
filtering_video.c
doc/examples/filtering_video.c
+1
-1
No files found.
doc/examples/filtering_audio.c
View file @
5e4bc964
...
...
@@ -207,7 +207,7 @@ int main(int argc, char **argv)
if
(
got_frame
)
{
/* push the audio data from decoded frame into the filtergraph */
if
(
av_buffersrc_add_frame
(
buffersrc_ctx
,
frame
,
0
)
<
0
)
{
if
(
av_buffersrc_add_frame
(
buffersrc_ctx
,
frame
)
<
0
)
{
av_log
(
NULL
,
AV_LOG_ERROR
,
"Error while feeding the audio filtergraph
\n
"
);
break
;
}
...
...
doc/examples/filtering_video.c
View file @
5e4bc964
...
...
@@ -213,7 +213,7 @@ int main(int argc, char **argv)
frame
->
pts
=
av_frame_get_best_effort_timestamp
(
frame
);
/* push the decoded frame into the filtergraph */
if
(
av_buffersrc_add_frame
(
buffersrc_ctx
,
frame
,
0
)
<
0
)
{
if
(
av_buffersrc_add_frame
(
buffersrc_ctx
,
frame
)
<
0
)
{
av_log
(
NULL
,
AV_LOG_ERROR
,
"Error while feeding the filtergraph
\n
"
);
break
;
}
...
...
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