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
8dc6c826
Commit
8dc6c826
authored
Dec 17, 2002
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* bits.h: fixed a stupid bug.
* ts.c: removed an unused variable.
parent
d5d568e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
modules/mux/mpeg/bits.h
modules/mux/mpeg/bits.h
+2
-2
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+1
-3
No files found.
modules/mux/mpeg/bits.h
View file @
8dc6c826
...
...
@@ -2,7 +2,7 @@
* bits.h
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: bits.h,v 1.
1 2002/12/14 21:32:41
fenrir Exp $
* $Id: bits.h,v 1.
2 2002/12/17 21:58:03
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org>
...
...
@@ -72,7 +72,7 @@ static inline void bits_write( bits_buffer_t *p_buffer,
{
while
(
i_count
>
0
)
{
if
(
i_bits
&
(
1
<<
(
i_count
-
1
)
)
)
if
(
(
i_bits
>>
(
i_count
-
1
)
)
&
0x01
)
{
p_buffer
->
p_data
[
p_buffer
->
i_data
]
|=
p_buffer
->
i_mask
;
}
...
...
modules/mux/mpeg/ts.c
View file @
8dc6c826
...
...
@@ -2,7 +2,7 @@
* ts.c
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: ts.c,v 1.
2 2002/12/15 23:39:41
fenrir Exp $
* $Id: ts.c,v 1.
3 2002/12/17 21:58:03
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org>
...
...
@@ -539,7 +539,6 @@ static void SetTSDate( sout_buffer_t *p_ts, mtime_t i_dts, mtime_t i_length )
static
int
Mux
(
sout_instance_t
*
p_sout
)
{
sout_mux_t
*
p_mux
=
(
sout_mux_t
*
)
p_sout
->
p_mux_data
;
mtime_t
i_dts
;
int
i_stream
;
sout_buffer_t
*
p_pat
,
*
p_pmt
,
*
p_ts
;
...
...
@@ -587,7 +586,6 @@ static int Mux( sout_instance_t *p_sout )
}
p_mux
->
i_ts_packet
++
;
SetTSDate
(
p_ts
,
i_dts
,
i_length
);
p_sout
->
pf_write
(
p_sout
,
p_ts
);
...
...
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