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
630e3b7a
Commit
630e3b7a
authored
Aug 22, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/dvbsub.c: fixed segfault.
parent
a3b1e1a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/codec/dvbsub.c
modules/codec/dvbsub.c
+3
-3
No files found.
modules/codec/dvbsub.c
View file @
630e3b7a
...
...
@@ -837,7 +837,7 @@ static void decode_region_composition( decoder_t *p_dec, bs_t *s )
{
if
(
p_region
->
p_pixbuf
)
{
msg_Dbg
(
p_dec
,
" changed (not allowed)"
);
msg_Dbg
(
p_dec
,
"
region size
changed (not allowed)"
);
free
(
p_region
->
p_pixbuf
);
}
...
...
@@ -1392,7 +1392,7 @@ static subpicture_t *render( decoder_t *p_dec )
fmt
.
i_height
=
fmt
.
i_visible_height
=
p_region
->
i_height
;
fmt
.
i_x_offset
=
fmt
.
i_y_offset
=
0
;
p_spu_region
=
p_spu
->
pf_create_region
(
VLC_OBJECT
(
p_dec
),
&
fmt
);
if
(
!
p_region
)
if
(
!
p_
spu_
region
)
{
msg_Err
(
p_dec
,
"cannot allocate SPU region"
);
continue
;
...
...
@@ -1431,7 +1431,7 @@ static subpicture_t *render( decoder_t *p_dec )
* (since there are not rendered in the pixbuffer) */
for
(
j
=
0
;
j
<
p_region
->
i_object_defs
;
j
++
)
{
dvbsub_objectdef_t
*
p_object_def
=
&
p_region
->
p_object_defs
[
i
];
dvbsub_objectdef_t
*
p_object_def
=
&
p_region
->
p_object_defs
[
j
];
if
(
p_object_def
->
i_type
!=
1
||
!
p_object_def
->
psz_text
)
continue
;
...
...
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