Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
adb2ecca
Commit
adb2ecca
authored
Oct 01, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless test.
p_sys cannot be null here.
parent
0d2aad25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/codec/svcdsub.c
modules/codec/svcdsub.c
+2
-2
No files found.
modules/codec/svcdsub.c
View file @
adb2ecca
...
...
@@ -437,7 +437,7 @@ static void ParseHeader( decoder_t *p_dec, block_t *p_block )
p_sys
->
i_image_length
=
p_sys
->
i_spu_size
-
p_sys
->
i_image_offset
;
p_sys
->
metadata_length
=
p_sys
->
i_image_offset
;
if
(
p_sys
&&
p_sys
->
i_debug
&
DECODE_DBG_PACKET
)
if
(
p_sys
->
i_debug
&
DECODE_DBG_PACKET
)
{
msg_Dbg
(
p_dec
,
"x-start: %d, y-start: %d, width: %d, height %d, "
"spu size: %zu, duration: %"
PRIu64
" (d:%zu p:%"
PRIu16
")"
,
...
...
@@ -445,7 +445,7 @@ static void ParseHeader( decoder_t *p_dec, block_t *p_block )
p_sys
->
i_width
,
p_sys
->
i_height
,
p_sys
->
i_spu_size
,
p_sys
->
i_duration
,
p_sys
->
i_image_length
,
p_sys
->
i_image_offset
);
for
(
i
=
0
;
i
<
4
;
i
++
)
{
msg_Dbg
(
p_dec
,
"palette[%d]= T: %2x, Y: %2x, u: %2x, v: %2x"
,
i
,
...
...
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