Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
4f86b9d4
Commit
4f86b9d4
authored
Mar 11, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
picture_Setup: missing const
parent
9442de70
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/vlc_picture.h
include/vlc_picture.h
+1
-1
src/misc/picture.c
src/misc/picture.c
+1
-1
No files found.
include/vlc_picture.h
View file @
4f86b9d4
...
@@ -235,7 +235,7 @@ VLC_API int picture_Export( vlc_object_t *p_obj, block_t **pp_image, video_forma
...
@@ -235,7 +235,7 @@ VLC_API int picture_Export( vlc_object_t *p_obj, block_t **pp_image, video_forma
*
*
* It can be useful to get the properties of planes.
* It can be useful to get the properties of planes.
*/
*/
VLC_API
int
picture_Setup
(
picture_t
*
,
video_format_t
*
);
VLC_API
int
picture_Setup
(
picture_t
*
,
const
video_format_t
*
);
/**
/**
...
...
src/misc/picture.c
View file @
4f86b9d4
...
@@ -128,7 +128,7 @@ static int LCM( int a, int b )
...
@@ -128,7 +128,7 @@ static int LCM( int a, int b )
return
a
*
b
/
GCD
(
a
,
b
);
return
a
*
b
/
GCD
(
a
,
b
);
}
}
int
picture_Setup
(
picture_t
*
p_picture
,
video_format_t
*
fmt
)
int
picture_Setup
(
picture_t
*
p_picture
,
const
video_format_t
*
restrict
fmt
)
{
{
/* Store default values */
/* Store default values */
p_picture
->
i_planes
=
0
;
p_picture
->
i_planes
=
0
;
...
...
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