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
4c53a66f
Commit
4c53a66f
authored
Jul 26, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Hopefully) fixed the #@!$ field pictures bug.
parent
d92602e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
6 deletions
+21
-6
src/video_decoder/vpar_headers.c
src/video_decoder/vpar_headers.c
+21
-6
No files found.
src/video_decoder/vpar_headers.c
View file @
4c53a66f
...
...
@@ -2,7 +2,7 @@
* vpar_headers.c : headers parsing
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: vpar_headers.c,v 1.
5 2001/07/25 18:06:27
massiot Exp $
* $Id: vpar_headers.c,v 1.
6 2001/07/26 11:36:52
massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Stphane Borel <stef@via.ecp.fr>
...
...
@@ -624,7 +624,22 @@ static void PictureHeader( vpar_thread_t * p_vpar )
* have decoded the first field. */
if
(
b_parsable
)
{
b_parsable
=
(
p_vpar
->
picture
.
p_picture
!=
NULL
);
if
(
p_vpar
->
picture
.
p_picture
==
NULL
)
{
if
(
(
p_vpar
->
picture
.
i_coding_type
==
I_CODING_TYPE
&&
p_vpar
->
sequence
.
p_backward
==
NULL
)
)
{
/* Exceptionnally, parse the picture if it is I. We need
* this in case of an odd number of field pictures, if the
* previous picture is not intra, we desperately need a
* new reference picture. OK, this is kind of kludgy. */
p_vpar
->
picture
.
i_current_structure
=
0
;
}
else
{
b_parsable
=
0
;
}
}
}
}
else
...
...
@@ -672,16 +687,16 @@ static void PictureHeader( vpar_thread_t * p_vpar )
{
if
(
(
p_vpar
->
picture
.
i_current_structure
|
i_structure
)
==
FRAME_STRUCTURE
)
{
p_vpar
->
picture
.
i_current_structure
=
i_structure
;
}
else
{
/* The frame is complete. */
p_vpar
->
picture
.
i_current_structure
=
0
;
vpar_SynchroTrash
(
p_vpar
,
p_vpar
->
picture
.
i_coding_type
,
i_structure
);
}
else
{
p_vpar
->
picture
.
i_current_structure
=
i_structure
;
}
}
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