Skip to content

Commit

Permalink
Fix regression for ld-cut
Browse files Browse the repository at this point in the history
At least restores functionality for happycube#647 (though it doesn't add a test)
  • Loading branch information
Mikewando committed Jul 15, 2021
1 parent febcd2e commit 762e03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lddecode/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def __init__(

deemp = list(self.DecoderParams["video_deemp"])

deemp_low, deemp_high = extra_options["deemp_coeff"]
deemp_low, deemp_high = extra_options.get("deemp_coeff", (0, 0))
if deemp_low > 0:
deemp[0] = deemp_low
if deemp_high > 0:
Expand Down

0 comments on commit 762e03b

Please sign in to comment.