Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
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
libdvbpsi
Commits
77962d1a
Commit
77962d1a
authored
Jun 28, 2015
by
Daniel Kamil Kozar
Committed by
Jean-Paul Saman
Jan 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add testing of i_additional_info in copyright descriptor
Signed-off-by:
Jean-Paul Saman
<
jpsaman@videolan.org
>
parent
a46495cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
misc/dr.xml
misc/dr.xml
+1
-0
misc/test_dr.c
misc/test_dr.c
+9
-0
No files found.
misc/dr.xml
View file @
77962d1a
...
...
@@ -96,6 +96,7 @@
s_decoded.i_additional_length = 0;
</begin>
</insert>
<integer
name=
"i_copyright_identifier"
bitcount=
"32"
default=
"0"
/>
<array
name=
"i_additional_info"
len_name=
"i_additional_length"
min_size=
"0"
/>
</descriptor>
<descriptor
name=
"maximum bitrate"
sname=
"max_bitrate"
fname=
"MaxBitrate"
>
...
...
misc/test_dr.c
View file @
77962d1a
...
...
@@ -603,6 +603,15 @@ static int main_copyright_(void)
BOZO_CLEAN
();
BOZO_end_integer
(
i_copyright_identifier
,
32
)
/* check i_additional_info */
s_decoded
.
i_additional_length
=
0
;
BOZO_init_integer
(
i_copyright_identifier
,
0
);
BOZO_begin_array
(
i_additional_info
,
i_additional_length
,
0
)
BOZO_DOJOB
(
Copyright
);
BOZO_check_array
(
i_additional_info
,
i_additional_length
)
BOZO_CLEAN
();
BOZO_end_array
(
i_additional_info
)
BOZO_END
(
copyright
);
...
...
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