Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
05d8c3ba
Commit
05d8c3ba
authored
Nov 20, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ts: fixed a stupid bug for MS codec.
parent
f5d38066
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+7
-7
No files found.
modules/mux/mpeg/ts.c
View file @
05d8c3ba
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* ts.c: MPEG-II TS Muxer
* ts.c: MPEG-II TS Muxer
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* Copyright (C) 2001, 2002 VideoLAN
* $Id: ts.c,v 1.3
5 2003/11/17 14:46:37 massiot
Exp $
* $Id: ts.c,v 1.3
6 2003/11/20 18:26:44 fenrir
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>
...
@@ -1547,12 +1547,12 @@ static void GetPMT( sout_mux_t *p_mux,
...
@@ -1547,12 +1547,12 @@ static void GetPMT( sout_mux_t *p_mux,
/* private DIV3 descripor */
/* private DIV3 descripor */
memcpy
(
&
data
[
0
],
&
p_stream
->
i_bih_codec
,
4
);
memcpy
(
&
data
[
0
],
&
p_stream
->
i_bih_codec
,
4
);
data
[
4
]
=
(
p_stream
->
i_bih_width
>>
8
)
&
&
0xff
;
data
[
4
]
=
(
p_stream
->
i_bih_width
>>
8
)
&
0xff
;
data
[
5
]
=
(
p_stream
->
i_bih_width
)
&
&
0xff
;
data
[
5
]
=
(
p_stream
->
i_bih_width
)
&
0xff
;
data
[
6
]
=
(
p_stream
->
i_bih_height
>>
8
)
&
&
0xff
;
data
[
6
]
=
(
p_stream
->
i_bih_height
>>
8
)
&
0xff
;
data
[
7
]
=
(
p_stream
->
i_bih_height
)
&
&
0xff
;
data
[
7
]
=
(
p_stream
->
i_bih_height
)
&
0xff
;
data
[
8
]
=
(
i_extra
>>
8
)
&
&
0xff
;
data
[
8
]
=
(
i_extra
>>
8
)
&
0xff
;
data
[
9
]
=
(
i_extra
)
&
&
0xff
;
data
[
9
]
=
(
i_extra
)
&
0xff
;
if
(
i_extra
>
0
)
if
(
i_extra
>
0
)
{
{
memcpy
(
&
data
[
10
],
p_stream
->
p_decoder_specific_info
,
i_extra
);
memcpy
(
&
data
[
10
],
p_stream
->
p_decoder_specific_info
,
i_extra
);
...
...
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