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
865b8f0d
Commit
865b8f0d
authored
Nov 11, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove another harmful extra ToLocale() call
parent
9da31dde
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
modules/codec/fake.c
modules/codec/fake.c
+3
-5
No files found.
modules/codec/fake.c
View file @
865b8f0d
...
@@ -64,7 +64,7 @@ static picture_t *DecodeBlock ( decoder_t *, block_t ** );
...
@@ -64,7 +64,7 @@ static picture_t *DecodeBlock ( decoder_t *, block_t ** );
#define DEINTERLACE_MODULE_LONGTEXT N_( \
#define DEINTERLACE_MODULE_LONGTEXT N_( \
"Deinterlace module to use." )
"Deinterlace module to use." )
static
char
*
ppsz_deinterlace_type
[]
=
static
c
onst
c
har
*
ppsz_deinterlace_type
[]
=
{
{
"deinterlace"
,
"ffmpeg-deinterlace"
"deinterlace"
,
"ffmpeg-deinterlace"
};
};
...
@@ -106,7 +106,7 @@ static int OpenDecoder( vlc_object_t *p_this )
...
@@ -106,7 +106,7 @@ static int OpenDecoder( vlc_object_t *p_this )
image_handler_t
*
p_handler
;
image_handler_t
*
p_handler
;
video_format_t
fmt_in
,
fmt_out
;
video_format_t
fmt_in
,
fmt_out
;
picture_t
*
p_image
;
picture_t
*
p_image
;
char
*
psz_file
,
*
psz_local
;
char
*
psz_file
;
vlc_bool_t
b_keep_ar
;
vlc_bool_t
b_keep_ar
;
int
i_aspect
=
0
;
int
i_aspect
=
0
;
...
@@ -161,9 +161,7 @@ static int OpenDecoder( vlc_object_t *p_this )
...
@@ -161,9 +161,7 @@ static int OpenDecoder( vlc_object_t *p_this )
}
}
p_handler
=
image_HandlerCreate
(
p_dec
);
p_handler
=
image_HandlerCreate
(
p_dec
);
psz_local
=
ToLocale
(
psz_file
);
p_image
=
image_ReadUrl
(
p_handler
,
psz_file
,
&
fmt_in
,
&
fmt_out
);
p_image
=
image_ReadUrl
(
p_handler
,
psz_local
,
&
fmt_in
,
&
fmt_out
);
LocaleFree
(
psz_local
);
image_HandlerDelete
(
p_handler
);
image_HandlerDelete
(
p_handler
);
if
(
p_image
==
NULL
)
if
(
p_image
==
NULL
)
...
...
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