Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
50daa275
Commit
50daa275
authored
Sep 03, 2003
by
gbazin
Browse files
* modules/codec/libmpeg2.c: fixed segfault on exit.
parent
c9f89d87
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/libmpeg2.c
View file @
50daa275
...
...
@@ -2,7 +2,7 @@
* libmpeg2.c: mpeg2 video decoder module making use of libmpeg2.
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: libmpeg2.c,v 1.2
6
2003/09/0
2 20:19:25
gbazin Exp $
* $Id: libmpeg2.c,v 1.2
7
2003/09/0
3 10:23:17
gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -176,6 +176,12 @@ static int RunDecoder( decoder_t *p_dec, block_t *p_block )
while
(
1
)
{
if
(
p_dec
->
p_fifo
->
b_die
||
p_dec
->
p_fifo
->
b_error
)
{
block_Release
(
p_block
);
return
VLC_EGENERIC
;
}
state
=
mpeg2_parse
(
p_sys
->
p_mpeg2dec
);
switch
(
state
)
...
...
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