Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
715fae63
Commit
715fae63
authored
Jul 25, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a stupid bug in buffer management with field pictures.
parent
4452dad3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/video_decoder/vpar_headers.c
src/video_decoder/vpar_headers.c
+4
-3
No files found.
src/video_decoder/vpar_headers.c
View file @
715fae63
...
...
@@ -2,7 +2,7 @@
* vpar_headers.c : headers parsing
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: vpar_headers.c,v 1.
4 2001/07/25 15:37:34
massiot Exp $
* $Id: vpar_headers.c,v 1.
5 2001/07/25 18:06:27
massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Stphane Borel <stef@via.ecp.fr>
...
...
@@ -602,6 +602,7 @@ static void PictureHeader( vpar_thread_t * p_vpar )
p_vpar
->
picture
.
i_coding_type
,
NULL
);
vout_DestroyPicture
(
p_vpar
->
p_vout
,
p_vpar
->
picture
.
p_picture
);
p_vpar
->
picture
.
p_picture
=
NULL
;
}
p_vpar
->
picture
.
i_current_structure
=
0
;
...
...
@@ -672,12 +673,12 @@ 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
=
0
;
p_vpar
->
picture
.
i_current_structure
=
i_structure
;
}
else
{
/* The frame is complete. */
p_vpar
->
picture
.
i_current_structure
=
i_structure
;
p_vpar
->
picture
.
i_current_structure
=
0
;
vpar_SynchroTrash
(
p_vpar
,
p_vpar
->
picture
.
i_coding_type
,
i_structure
);
}
...
...
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