Skip to content

Commit

Permalink
Replace literal with constant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dsparano committed Jul 19, 2023
1 parent ad21eb9 commit 5178488
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private static String getDecoderCountersBufferCountString(DecoderCounters counte
}

private static String getBitdepthInfoString(int lumaBitdepth) {
return lumaBitdepth != -1 ? " b:" + lumaBitdepth : "";
return lumaBitdepth != Format.NO_VALUE ? " b:" + lumaBitdepth : "";
}

private static String getColorInfoString(@Nullable ColorInfo colorInfo) {
Expand Down

0 comments on commit 5178488

Please sign in to comment.