Skip to content

Commit

Permalink
Merge pull request #648 from Mikewando/patch-1
Browse files Browse the repository at this point in the history
Fix regression for ld-cut
  • Loading branch information
happycube committed Jul 15, 2021
2 parents febcd2e + 762e03b commit 3993bcc
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 3993bcc

Please sign in to comment.