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
8c9c30c5
Commit
8c9c30c5
authored
Jul 30, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
image: remove constant parameter
parent
b67dac77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
src/misc/image.c
src/misc/image.c
+6
-8
No files found.
src/misc/image.c
View file @
8c9c30c5
...
...
@@ -66,7 +66,7 @@ static encoder_t *CreateEncoder( vlc_object_t *, video_format_t *,
video_format_t
*
);
static
void
DeleteEncoder
(
encoder_t
*
);
static
filter_t
*
CreateFilter
(
vlc_object_t
*
,
es_format_t
*
,
video_format_t
*
,
const
char
*
);
video_format_t
*
);
static
void
DeleteFilter
(
filter_t
*
);
vlc_fourcc_t
image_Type2Fourcc
(
const
char
*
);
...
...
@@ -196,7 +196,7 @@ static picture_t *ImageRead( image_handler_t *p_image, block_t *p_block,
{
p_image
->
p_filter
=
CreateFilter
(
p_image
->
p_parent
,
&
p_image
->
p_dec
->
fmt_out
,
p_fmt_out
,
NULL
);
p_fmt_out
);
if
(
!
p_image
->
p_filter
)
{
...
...
@@ -321,7 +321,7 @@ static block_t *ImageWrite( image_handler_t *p_image, picture_t *p_pic,
p_image
->
p_filter
=
CreateFilter
(
p_image
->
p_parent
,
&
fmt_in
,
&
p_image
->
p_enc
->
fmt_in
.
video
,
NULL
);
&
p_image
->
p_enc
->
fmt_in
.
video
);
if
(
!
p_image
->
p_filter
)
{
...
...
@@ -457,7 +457,7 @@ static picture_t *ImageConvert( image_handler_t *p_image, picture_t *p_pic,
fmt_in
.
video
=
*
p_fmt_in
;
p_image
->
p_filter
=
CreateFilter
(
p_image
->
p_parent
,
&
fmt_in
,
p_fmt_out
,
NULL
);
CreateFilter
(
p_image
->
p_parent
,
&
fmt_in
,
p_fmt_out
);
if
(
!
p_image
->
p_filter
)
{
...
...
@@ -740,8 +740,7 @@ static void DeleteEncoder( encoder_t * p_enc )
}
static
filter_t
*
CreateFilter
(
vlc_object_t
*
p_this
,
es_format_t
*
p_fmt_in
,
video_format_t
*
p_fmt_out
,
const
char
*
psz_module
)
video_format_t
*
p_fmt_out
)
{
filter_t
*
p_filter
;
...
...
@@ -755,8 +754,7 @@ static filter_t *CreateFilter( vlc_object_t *p_this, es_format_t *p_fmt_in,
p_filter
->
fmt_out
=
*
p_fmt_in
;
p_filter
->
fmt_out
.
i_codec
=
p_fmt_out
->
i_chroma
;
p_filter
->
fmt_out
.
video
=
*
p_fmt_out
;
p_filter
->
p_module
=
module_need
(
p_filter
,
"video filter2"
,
psz_module
,
false
);
p_filter
->
p_module
=
module_need
(
p_filter
,
"video filter2"
,
NULL
,
false
);
if
(
!
p_filter
->
p_module
)
{
...
...
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