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
84cf8734
Commit
84cf8734
authored
Jan 27, 2000
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tentative de fix pour le segfault du d�codeur (qui est en fait une erreur
du parseur).
parent
5b22bedf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/video_parser/vpar_blocks.c
src/video_parser/vpar_blocks.c
+5
-2
No files found.
src/video_parser/vpar_blocks.c
View file @
84cf8734
...
@@ -1863,7 +1863,9 @@ static __inline__ void PictureData( vpar_thread_t * p_vpar, int i_mb_base,
...
@@ -1863,7 +1863,9 @@ static __inline__ void PictureData( vpar_thread_t * p_vpar, int i_mb_base,
u32
i_dummy
;
u32
i_dummy
;
NextStartCode
(
p_vpar
);
NextStartCode
(
p_vpar
);
while
(
i_mb_address
+
i_mb_base
<
p_vpar
->
sequence
.
i_mb_size
while
(
(
i_coding_type
!=
I_CODING_TYPE
||
i_coding_type
!=
D_CODING_TYPE
||
!
p_vpar
->
picture
.
b_error
)
&&
i_mb_address
+
i_mb_base
<
p_vpar
->
sequence
.
i_mb_size
&&
!
p_vpar
->
b_die
)
&&
!
p_vpar
->
b_die
)
{
{
if
(
((
i_dummy
=
ShowBits
(
&
p_vpar
->
bit_stream
,
32
))
if
(
((
i_dummy
=
ShowBits
(
&
p_vpar
->
bit_stream
,
32
))
...
@@ -1885,7 +1887,8 @@ static __inline__ void PictureData( vpar_thread_t * p_vpar, int i_mb_base,
...
@@ -1885,7 +1887,8 @@ static __inline__ void PictureData( vpar_thread_t * p_vpar, int i_mb_base,
/* Try to recover from error. If we missed less than half the
/* Try to recover from error. If we missed less than half the
* number of macroblocks of the picture, mark the missed ones
* number of macroblocks of the picture, mark the missed ones
* as skipped. */
* as skipped. */
if
(
p_vpar
->
picture
.
b_error
&&
if
(
(
i_coding_type
==
P_CODING_TYPE
||
i_coding_type
==
B_CODING_TYPE
)
&&
p_vpar
->
picture
.
b_error
&&
(
(
i_mb_address
-
i_mb_base
)
>
(
p_vpar
->
sequence
.
i_mb_size
>>
1
)
(
(
i_mb_address
-
i_mb_base
)
>
(
p_vpar
->
sequence
.
i_mb_size
>>
1
)
||
(
i_structure
!=
FRAME_STRUCTURE
||
(
i_structure
!=
FRAME_STRUCTURE
&&
(
i_mb_address
-
i_mb_base
)
>
(
p_vpar
->
sequence
.
i_mb_size
>>
2
)
)
)
)
&&
(
i_mb_address
-
i_mb_base
)
>
(
p_vpar
->
sequence
.
i_mb_size
>>
2
)
)
)
)
...
...
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