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
Steve Lhomme
VLC
Commits
96fd5143
Commit
96fd5143
authored
Jan 25, 2003
by
Laurent Aimar
Browse files
*mp4: fixed segfault when it fails to start a decoder and has specific
informations to send.
parent
8fce437b
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/mp4/mp4.c
View file @
96fd5143
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* mp4.c : MP4 file input module for vlc
* mp4.c : MP4 file input module for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: mp4.c,v 1.1
3
2003/01/25 1
6:58:34
fenrir Exp $
* $Id: mp4.c,v 1.1
4
2003/01/25 1
7:21:40
fenrir Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -1159,6 +1159,11 @@ static void MP4_StartDecoder( input_thread_t *p_input,
...
@@ -1159,6 +1159,11 @@ static void MP4_StartDecoder( input_thread_t *p_input,
input_SelectES
(
p_input
,
p_demux_track
->
p_es
);
input_SelectES
(
p_input
,
p_demux_track
->
p_es
);
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
if
(
!
p_demux_track
->
p_es
->
p_decoder_fifo
)
{
msg_Warn
(
p_input
,
"cannot start decoder"
);
return
;
}
if
(
p_pes_init
!=
NULL
)
if
(
p_pes_init
!=
NULL
)
{
{
input_DecodePES
(
p_demux_track
->
p_es
->
p_decoder_fifo
,
p_pes_init
);
input_DecodePES
(
p_demux_track
->
p_es
->
p_decoder_fifo
,
p_pes_init
);
...
...
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