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
3eb3203a
Commit
3eb3203a
authored
Feb 15, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TS demux: decoder_config_descriptor_t: remove write-only members
parent
e61aa202
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
+9
-12
modules/demux/ts.c
modules/demux/ts.c
+9
-12
No files found.
modules/demux/ts.c
View file @
3eb3203a
...
...
@@ -182,10 +182,6 @@ typedef struct
{
uint8_t
i_objectTypeIndication
;
uint8_t
i_streamType
;
bool
b_upStream
;
uint32_t
i_bufferSizeDB
;
uint32_t
i_maxBitrate
;
uint32_t
i_avgBitrate
;
int
i_extra
;
uint8_t
*
p_extra
;
...
...
@@ -2476,16 +2472,17 @@ static iod_descriptor_t *IODNew( int i_data, uint8_t *p_data )
dec_descr
.
i_objectTypeIndication
=
IODGetByte
(
&
i_data
,
&
p_data
);
i_flags
=
IODGetByte
(
&
i_data
,
&
p_data
);
dec_descr
.
i_streamType
=
i_flags
>>
2
;
dec_descr
.
b_upStream
=
(
i_flags
>>
1
)
&
0x01
;
dec_descr
.
i_bufferSizeDB
=
IODGet3Bytes
(
&
i_data
,
&
p_data
);
dec_descr
.
i_maxBitrate
=
IODGetDWord
(
&
i_data
,
&
p_data
);
dec_descr
.
i_avgBitrate
=
IODGetDWord
(
&
i_data
,
&
p_data
);
bool
b_upStream
=
(
i_flags
>>
1
)
&
0x01
;
uint32_t
i_bufferSizeDB
=
IODGet3Bytes
(
&
i_data
,
&
p_data
);
uint32_t
i_maxBitrate
=
IODGetDWord
(
&
i_data
,
&
p_data
);
uint32_t
i_avgBitrate
=
IODGetDWord
(
&
i_data
,
&
p_data
);
ts_debug
(
"
\n
* * objectTypeIndication:0x%x"
,
dec_descr
.
i_objectTypeIndication
);
ts_debug
(
"
\n
* * streamType:0x%x"
,
dec_descr
.
i_streamType
);
ts_debug
(
"
\n
* * upStream:%d"
,
dec_descr
.
b_upStream
);
ts_debug
(
"
\n
* * bufferSizeDB:%d"
,
dec_descr
.
i_bufferSizeDB
);
ts_debug
(
"
\n
* * maxBitrate:%d"
,
dec_descr
.
i_maxBitrate
);
ts_debug
(
"
\n
* * avgBitrate:%d"
,
dec_descr
.
i_avgBitrate
);
ts_debug
(
"
\n
* * upStream:%d"
,
b_upStream
);
ts_debug
(
"
\n
* * bufferSizeDB:%d"
,
i_bufferSizeDB
);
ts_debug
(
"
\n
* * maxBitrate:%d"
,
i_maxBitrate
);
ts_debug
(
"
\n
* * avgBitrate:%d"
,
i_avgBitrate
);
if
(
i_decoderConfigDescr_length
>
13
&&
IODGetByte
(
&
i_data
,
&
p_data
)
==
0x05
)
{
dec_descr
.
i_extra
=
IODDescriptorLength
(
&
i_data
,
&
p_data
);
...
...
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