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
88437ee2
Commit
88437ee2
authored
Sep 25, 2007
by
Jean-Paul Saman
Committed by
Jean-Paul Saman
Mar 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Strip off pagenumber from the resulting string.
parent
46df8eb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/codec/zvbi.c
modules/codec/zvbi.c
+4
-3
No files found.
modules/codec/zvbi.c
View file @
88437ee2
...
...
@@ -321,10 +321,11 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
"UTF-8"
,
0
,
0
,
0
,
0
,
p_page
.
columns
,
p_page
.
rows
);
p_text
[
i_total
]
=
'\0'
;
if
(
i_total
==
0
)
goto
error
;
p_spu
->
p_region
->
psz_text
=
strdup
(
&
p_text
[
0
]
);
/* Strip off the pagenumber */
if
(
i_total
<=
8
)
goto
error
;
p_spu
->
p_region
->
psz_text
=
strdup
(
&
p_text
[
8
]
);
p_spu
->
p_region
->
fmt
.
i_height
=
p_spu
->
p_region
->
fmt
.
i_visible_height
=
p_page
.
rows
+
1
;
msg_Dbg
(
p_dec
,
"page %x-%x
\n
%s"
,
p_page
.
pgno
,
p_page
.
subno
,
p_text
);
}
else
...
...
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