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
9bb25dbd
Commit
9bb25dbd
authored
Mar 14, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples/filtering_*: constify AVFrame * for print_frame() and display_frame() functions
parent
9076a6a9
Show 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 @
9bb25dbd
...
...
@@ -150,7 +150,7 @@ static int init_filters(const char *filters_descr)
return
0
;
}
static
void
print_frame
(
AVFrame
*
frame
)
static
void
print_frame
(
const
AVFrame
*
frame
)
{
const
int
n
=
frame
->
nb_samples
*
av_get_channel_layout_nb_channels
(
av_frame_get_channel_layout
(
frame
));
const
uint16_t
*
p
=
(
uint16_t
*
)
frame
->
data
[
0
];
...
...
doc/examples/filtering_video.c
View file @
9bb25dbd
...
...
@@ -138,7 +138,7 @@ static int init_filters(const char *filters_descr)
return
0
;
}
static
void
display_frame
(
AVFrame
*
frame
,
AVRational
time_base
)
static
void
display_frame
(
const
AVFrame
*
frame
,
AVRational
time_base
)
{
int
x
,
y
;
uint8_t
*
p0
,
*
p
;
...
...
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