Skip to content
Snippets Groups Projects
Commit 6848325a authored by Christophe Gisquet's avatar Christophe Gisquet Committed by Michael Niedermayer
Browse files

huffyuvdec: remove superfluous check


An invalid entry already has the property of having a negative number
of bits, so remove the check on the reserved value, and rearrange the
code as a consequence.

346800 decicycles in 422, 262079 runs, 65 skips
168197 decicycles in gray, 262077 runs, 67 skips
Overall time: 7.878s

319076 decicycles in 422, 262096 runs, 48 skips
159875 decicycles in gray, 262057 runs, 87 skips
Overall time: 7.394s

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent a3702040
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment