Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dodi Dodi
bitstream
Commits
82b5d21d
Commit
82b5d21d
authored
Feb 12, 2020
by
Christophe Massiot
Browse files
Merge branch 'quarium-a52'
parents
7e10c13a
f82eb172
Changes
1
Hide whitespace changes
Inline
Side-by-side
atsc/si/desc_81.h
View file @
82b5d21d
...
...
@@ -81,9 +81,9 @@ static inline uint8_t desc81_bit_rate_code_from_octetrate(uint64_t octetrate)
640
,
};
for
(
unsigned
i
=
0
;
i
<
19
;
i
++
)
{
if
(
octetrate
*
8
==
table
[
i
])
if
(
octetrate
*
8
==
table
[
i
]
*
1000
)
return
i
;
else
if
(
octetrate
*
8
<
table
[
i
])
else
if
(
octetrate
*
8
<
table
[
i
]
*
1000
)
return
0x20
|
i
;
}
return
0xff
;
...
...
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