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
18a6b179
Commit
18a6b179
authored
Jan 11, 2003
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed my previous commit (thanks fenrir)
parent
1637e21e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+4
-2
No files found.
modules/mux/mpeg/ts.c
View file @
18a6b179
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* ts.c
* ts.c
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* Copyright (C) 2001, 2002 VideoLAN
* $Id: ts.c,v 1.
5 2003/01/11 14:09:22
ipkiss Exp $
* $Id: ts.c,v 1.
6 2003/01/11 17:23:13
ipkiss Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org>
* Eric Petit <titer@videolan.org>
...
@@ -54,12 +54,14 @@
...
@@ -54,12 +54,14 @@
# include <dvbpsi/pat.h>
# include <dvbpsi/pat.h>
# include <dvbpsi/pmt.h>
# include <dvbpsi/pmt.h>
# include <dvbpsi/dr.h>
# include <dvbpsi/dr.h>
# include <dvbpsi/psi.h>
# else
# else
# include "dvbpsi.h"
# include "dvbpsi.h"
# include "descriptor.h"
# include "descriptor.h"
# include "tables/pat.h"
# include "tables/pat.h"
# include "tables/pmt.h"
# include "tables/pmt.h"
# include "descriptors/dr.h"
# include "descriptors/dr.h"
# include "psi.h"
# endif
# endif
#endif
#endif
...
@@ -769,7 +771,7 @@ static sout_buffer_t *WritePSISection( sout_instance_t *p_sout,
...
@@ -769,7 +771,7 @@ static sout_buffer_t *WritePSISection( sout_instance_t *p_sout,
{
{
int
i_size
;
int
i_size
;
i_size
=
p_section
->
p_payload_end
-
p_section
->
p_data
+
i_size
=
(
uint32_t
)(
p_section
->
p_payload_end
-
p_section
->
p_data
)
+
(
p_section
->
b_syntax_indicator
?
4
:
0
);
(
p_section
->
b_syntax_indicator
?
4
:
0
);
p_psi
=
sout_BufferNew
(
p_sout
,
i_size
+
1
);
p_psi
=
sout_BufferNew
(
p_sout
,
i_size
+
1
);
...
...
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