Skip to content

psnr: do not use NAN, initialize to 0#3836

Merged
BenzhengZhang merged 1 commit intocisco:masterfrom
fippo:no-nan
Jan 26, 2025
Merged

psnr: do not use NAN, initialize to 0#3836
BenzhengZhang merged 1 commit intocisco:masterfrom
fippo:no-nan

Conversation

@fippo
Copy link
Copy Markdown
Contributor

@fippo fippo commented Jan 24, 2025

which is not supported in some older compilers as pointed out in #3824 Applications should always check whether they requested calculating PSNR before evaluating that field in the result.

which is not supported in some older compilers as pointed out in cisco#3824
Applications should always check whether they requested calculating
PSNR before evaluating that field in the result.
@fippo fippo marked this pull request as ready for review January 24, 2025 18:10
@fippo
Copy link
Copy Markdown
Contributor Author

fippo commented Jan 24, 2025

@BenzhengZhang PTAL

@BenzhengZhang BenzhengZhang self-requested a review January 26, 2025 02:04
@BenzhengZhang BenzhengZhang merged commit cf3b514 into cisco:master Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants