Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
c578df89
Commit
c578df89
authored
Jul 16, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/spudec/spudec.c: proper initialization of the iconv handle.
parent
898d5377
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/codec/spudec/spudec.c
modules/codec/spudec/spudec.c
+4
-2
No files found.
modules/codec/spudec/spudec.c
View file @
c578df89
...
...
@@ -2,7 +2,7 @@
* spudec.c : SPU decoder thread
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: spudec.c,v 1.2
0 2003/07/14 21:32:58 sigmunau
Exp $
* $Id: spudec.c,v 1.2
1 2003/07/16 17:17:05 gbazin
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -121,6 +121,7 @@ static int RunDecoder( decoder_fifo_t * p_fifo )
*/
p_spudec
->
p_vout
=
NULL
;
p_spudec
->
p_fifo
=
p_fifo
;
p_spudec
->
iconv_handle
=
(
iconv_t
)
-
1
;
/*
* Initialize thread and free configuration
...
...
@@ -159,7 +160,8 @@ static int RunDecoder( decoder_fifo_t * p_fifo )
}
#endif
#if defined(HAVE_ICONV)
p_spudec
->
iconv_handle
=
iconv_open
(
"UTF-8"
,
config_GetPsz
(
p_spudec
->
p_fifo
,
"spudec-encoding"
)
);
p_spudec
->
iconv_handle
=
iconv_open
(
"UTF-8"
,
config_GetPsz
(
p_spudec
->
p_fifo
,
"spudec-encoding"
)
);
if
(
p_spudec
->
iconv_handle
==
(
iconv_t
)
-
1
)
{
msg_Warn
(
p_spudec
->
p_fifo
,
"Unable to do requested conversion"
);
...
...
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