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
9afd5592
Commit
9afd5592
authored
Sep 05, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imgconvert: silence some const incompatible pointer warnings.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
7666828c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
imgconvert.c
libavcodec/imgconvert.c
+2
-2
No files found.
libavcodec/imgconvert.c
View file @
9afd5592
...
@@ -411,7 +411,7 @@ int avpicture_layout(const AVPicture* src, enum PixelFormat pix_fmt, int width,
...
@@ -411,7 +411,7 @@ int avpicture_layout(const AVPicture* src, enum PixelFormat pix_fmt, int width,
unsigned
char
*
dest
,
int
dest_size
)
unsigned
char
*
dest
,
int
dest_size
)
{
{
return
av_image_copy_to_buffer
(
dest
,
dest_size
,
return
av_image_copy_to_buffer
(
dest
,
dest_size
,
src
->
data
,
src
->
linesize
,
(
const
uint8_t
*
const
*
)
src
->
data
,
src
->
linesize
,
pix_fmt
,
width
,
height
,
1
);
pix_fmt
,
width
,
height
,
1
);
}
}
...
@@ -607,7 +607,7 @@ enum PixelFormat avcodec_find_best_pix_fmt_of_list(enum PixelFormat *pix_fmt_lis
...
@@ -607,7 +607,7 @@ enum PixelFormat avcodec_find_best_pix_fmt_of_list(enum PixelFormat *pix_fmt_lis
void
av_picture_copy
(
AVPicture
*
dst
,
const
AVPicture
*
src
,
void
av_picture_copy
(
AVPicture
*
dst
,
const
AVPicture
*
src
,
enum
PixelFormat
pix_fmt
,
int
width
,
int
height
)
enum
PixelFormat
pix_fmt
,
int
width
,
int
height
)
{
{
av_image_copy
(
dst
->
data
,
dst
->
linesize
,
src
->
data
,
av_image_copy
(
dst
->
data
,
dst
->
linesize
,
(
const
uint8_t
**
)
src
->
data
,
src
->
linesize
,
pix_fmt
,
width
,
height
);
src
->
linesize
,
pix_fmt
,
width
,
height
);
}
}
...
...
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