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
bb1c38e6
Commit
bb1c38e6
authored
Jan 14, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt to fix the INPUT_MAX_ALLOCATION error.
parent
92253518
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
25 deletions
+22
-25
plugins/mpeg_vdec/vpar_headers.c
plugins/mpeg_vdec/vpar_headers.c
+22
-25
No files found.
plugins/mpeg_vdec/vpar_headers.c
View file @
bb1c38e6
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* vpar_headers.c : headers parsing
* vpar_headers.c : headers parsing
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* Copyright (C) 1999-2001 VideoLAN
* $Id: vpar_headers.c,v 1.1
0 2002/01/08 23:06:12
massiot Exp $
* $Id: vpar_headers.c,v 1.1
1 2002/01/14 22:26:05
massiot Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Stphane Borel <stef@via.ecp.fr>
* Stphane Borel <stef@via.ecp.fr>
...
@@ -258,36 +258,33 @@ int vpar_NextSequenceHeader( vpar_thread_t * p_vpar )
...
@@ -258,36 +258,33 @@ int vpar_NextSequenceHeader( vpar_thread_t * p_vpar )
*****************************************************************************/
*****************************************************************************/
int
vpar_ParseHeader
(
vpar_thread_t
*
p_vpar
)
int
vpar_ParseHeader
(
vpar_thread_t
*
p_vpar
)
{
{
while
(
!
p_vpar
->
p_fifo
->
b_die
)
NextStartCode
(
&
p_vpar
->
bit_stream
);
switch
(
GetBits32
(
&
p_vpar
->
bit_stream
)
)
{
{
NextStartCode
(
&
p_vpar
->
bit_stream
);
case
SEQUENCE_HEADER_CODE
:
switch
(
GetBits32
(
&
p_vpar
->
bit_stream
)
)
p_vpar
->
c_sequences
++
;
{
case
SEQUENCE_HEADER_CODE
:
p_vpar
->
c_sequences
++
;
SequenceHeader
(
p_vpar
);
SequenceHeader
(
p_vpar
);
return
0
;
return
0
;
break
;
break
;
case
GROUP_START_CODE
:
case
GROUP_START_CODE
:
GroupHeader
(
p_vpar
);
GroupHeader
(
p_vpar
);
return
0
;
return
0
;
break
;
break
;
case
PICTURE_START_CODE
:
case
PICTURE_START_CODE
:
PictureHeader
(
p_vpar
);
PictureHeader
(
p_vpar
);
return
0
;
return
0
;
break
;
break
;
case
SEQUENCE_END_CODE
:
case
SEQUENCE_END_CODE
:
intf_DbgMsg
(
"vpar debu
g: sequence end code received"
);
intf_WarnMsg
(
3
,
"vpar warnin
g: sequence end code received"
);
return
1
;
return
1
;
break
;
break
;
default:
default:
break
;
break
;
}
}
}
return
0
;
return
0
;
...
...
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