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
d835f8f6
Commit
d835f8f6
authored
Dec 14, 2003
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Clarify the error when utf8 is set and the sub is actually not utf8.
parent
67906775
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/codec/subsdec.c
modules/codec/subsdec.c
+3
-3
No files found.
modules/codec/subsdec.c
View file @
d835f8f6
...
...
@@ -2,7 +2,7 @@
* subsdec.c : text subtitles decoder
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: subsdec.c,v 1.1
3 2003/12/14 19:18:11 gbazi
n Exp $
* $Id: subsdec.c,v 1.1
4 2003/12/14 23:14:20 hartma
n Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -265,7 +265,7 @@ static void ParseText( decoder_t *p_dec, block_t *p_block,
msg_Warn
(
p_dec
,
"subtitle without a date"
);
return
;
}
/* Check validity of packet data */
if
(
p_block
->
i_buffer
<=
1
||
p_block
->
p_buffer
[
0
]
==
'\0'
)
{
...
...
@@ -298,7 +298,7 @@ static void ParseText( decoder_t *p_dec, block_t *p_block,
if
(
inbytes_left
)
{
msg_Warn
(
p_dec
,
"Failed to convert subtitle encoding, dropping subtitle"
);
msg_Warn
(
p_dec
,
"Failed to convert subtitle encoding, dropping subtitle
.
\n
Try setting a different character-encoding for the subtitle.
"
);
free
(
psz_subtitle
);
return
;
}
...
...
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