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
fe9818d0
Commit
fe9818d0
authored
Mar 07, 2012
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffplay: fix two const warnings.
No change in assembly code produced on x86_64.
parent
b50767c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ffplay.c
ffplay.c
+2
-2
No files found.
ffplay.c
View file @
fe9818d0
...
@@ -1673,7 +1673,7 @@ static int input_request_frame(AVFilterLink *link)
...
@@ -1673,7 +1673,7 @@ static int input_request_frame(AVFilterLink *link)
}
else
{
}
else
{
picref
=
avfilter_get_video_buffer
(
link
,
AV_PERM_WRITE
,
link
->
w
,
link
->
h
);
picref
=
avfilter_get_video_buffer
(
link
,
AV_PERM_WRITE
,
link
->
w
,
link
->
h
);
av_image_copy
(
picref
->
data
,
picref
->
linesize
,
av_image_copy
(
picref
->
data
,
picref
->
linesize
,
priv
->
frame
->
data
,
priv
->
frame
->
linesize
,
(
const
uint8_t
**
)(
void
**
)
priv
->
frame
->
data
,
priv
->
frame
->
linesize
,
picref
->
format
,
link
->
w
,
link
->
h
);
picref
->
format
,
link
->
w
,
link
->
h
);
}
}
av_free_packet
(
&
pkt
);
av_free_packet
(
&
pkt
);
...
@@ -3217,7 +3217,7 @@ int main(int argc, char **argv)
...
@@ -3217,7 +3217,7 @@ int main(int argc, char **argv)
}
}
av_init_packet
(
&
flush_pkt
);
av_init_packet
(
&
flush_pkt
);
flush_pkt
.
data
=
"FLUSH"
;
flush_pkt
.
data
=
(
char
*
)(
intptr_t
)
"FLUSH"
;
is
=
stream_open
(
input_filename
,
file_iformat
);
is
=
stream_open
(
input_filename
,
file_iformat
);
if
(
!
is
)
{
if
(
!
is
)
{
...
...
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