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
9137b014
Commit
9137b014
authored
Jan 25, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* all: fixed wrong usage of input_DeletePES.
parent
96fd5143
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
12 deletions
+7
-12
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+1
-10
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+6
-2
No files found.
modules/demux/avi/avi.c
View file @
9137b014
...
...
@@ -2,7 +2,7 @@
* avi.c : AVI file Stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: avi.c,v 1.3
1 2003/01/25 16:58:34
fenrir Exp $
* $Id: avi.c,v 1.3
2 2003/01/25 17:57:36
fenrir Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -144,15 +144,6 @@ static int input_ReadInPES( input_thread_t *p_input,
{
/* should occur only with EOF and max allocation reached
* it safer to return an error */
/* free all data packet */
for
(
p_data
=
p_pes
->
p_first
;
p_data
!=
NULL
;
)
{
data_packet_t
*
p_next
;
p_next
=
p_data
->
p_next
;
input_DeletePacket
(
p_input
->
p_method_data
,
p_data
);
p_data
=
p_next
;
}
/* free pes */
input_DeletePES
(
p_input
->
p_method_data
,
p_pes
);
return
-
1
;
...
...
modules/demux/mp4/mp4.c
View file @
9137b014
...
...
@@ -2,7 +2,7 @@
* mp4.c : MP4 file input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: mp4.c,v 1.1
4 2003/01/25 17:21:40
fenrir Exp $
* $Id: mp4.c,v 1.1
5 2003/01/25 17:57:36
fenrir Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -1162,8 +1162,13 @@ static void MP4_StartDecoder( input_thread_t *p_input,
if
(
!
p_demux_track
->
p_es
->
p_decoder_fifo
)
{
msg_Warn
(
p_input
,
"cannot start decoder"
);
if
(
p_pes_init
)
{
input_DeletePES
(
p_input
->
p_method_data
,
p_pes_init
);
}
return
;
}
if
(
p_pes_init
!=
NULL
)
{
input_DecodePES
(
p_demux_track
->
p_es
->
p_decoder_fifo
,
p_pes_init
);
...
...
@@ -1242,7 +1247,6 @@ static int MP4_ReadSample( input_thread_t *p_input,
if
(
!
MP4_ReadData
(
p_input
,
p_data
->
p_payload_start
,
i_size
)
)
{
input_DeletePES
(
p_input
->
p_method_data
,
*
pp_pes
);
input_DeletePacket
(
p_input
->
p_method_data
,
p_data
);
return
(
0
);
}
...
...
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