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
b90d7840
Commit
b90d7840
authored
Oct 30, 2012
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: const correctness for avpicture_fill()
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
03179c24
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
avcodec.h
libavcodec/avcodec.h
+1
-1
imgconvert.c
libavcodec/imgconvert.c
+1
-1
No files found.
libavcodec/avcodec.h
View file @
b90d7840
...
...
@@ -4490,7 +4490,7 @@ void avpicture_free(AVPicture *picture);
*
* @see av_image_fill_arrays()
*/
int
avpicture_fill
(
AVPicture
*
picture
,
uint8_t
*
ptr
,
int
avpicture_fill
(
AVPicture
*
picture
,
const
uint8_t
*
ptr
,
enum
AVPixelFormat
pix_fmt
,
int
width
,
int
height
);
/**
...
...
libavcodec/imgconvert.c
View file @
b90d7840
...
...
@@ -401,7 +401,7 @@ int ff_is_hwaccel_pix_fmt(enum AVPixelFormat pix_fmt)
return
desc
->
flags
&
PIX_FMT_HWACCEL
;
}
int
avpicture_fill
(
AVPicture
*
picture
,
uint8_t
*
ptr
,
int
avpicture_fill
(
AVPicture
*
picture
,
const
uint8_t
*
ptr
,
enum
AVPixelFormat
pix_fmt
,
int
width
,
int
height
)
{
return
av_image_fill_arrays
(
picture
->
data
,
picture
->
linesize
,
...
...
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