Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
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 1
5:37:34
massiot Exp $
* $Id: vpar_headers.c,v 1.
5
2001/07/25 1
8: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