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
e82b763a
Commit
e82b763a
authored
Oct 02, 2012
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux ts: fix EITConvertToUTF8 to deal with no longer broken providers
(fix #7537)
parent
ebea6779
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
modules/demux/ts.c
modules/demux/ts.c
+7
-0
No files found.
modules/demux/ts.c
View file @
e82b763a
...
@@ -2498,6 +2498,13 @@ static char *EITConvertToUTF8( const unsigned char *psz_instring,
...
@@ -2498,6 +2498,13 @@ static char *EITConvertToUTF8( const unsigned char *psz_instring,
size_t
i_length
,
size_t
i_length
,
bool
b_broken
)
bool
b_broken
)
{
{
/* Deal with no longer broken providers (no switch byte
but sending ISO_8859-1 instead of ISO_6937) without
removing them from the broken providers table
(keep the entry for correctly handling recorded TS).
*/
b_broken
=
b_broken
&&
i_length
&&
*
psz_instring
>
0x20
;
if
(
b_broken
)
if
(
b_broken
)
return
FromCharset
(
"ISO_8859-1"
,
psz_instring
,
i_length
);
return
FromCharset
(
"ISO_8859-1"
,
psz_instring
,
i_length
);
return
vlc_from_EIT
(
psz_instring
,
i_length
);
return
vlc_from_EIT
(
psz_instring
,
i_length
);
...
...
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