Skip to content
Snippets Groups Projects
Commit f28350e7 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

transpose: cleanup

Change-Id: I21fb8c933587fae5ce3ac07bb9582431e542f173
parent 6ce8a7ce
No related branches found
No related tags found
No related merge requests found
...@@ -29,11 +29,7 @@ getTransposeFilter( ...@@ -29,11 +29,7 @@ getTransposeFilter(
int rotation, std::string inputName, int width, int height, int format, bool rescale) int rotation, std::string inputName, int width, int height, int format, bool rescale)
{ {
JAMI_WARN("Rotation set to %d", rotation); JAMI_WARN("Rotation set to %d", rotation);
#ifdef _MSC_VER if (rotation == 0) {
if (_isnan(rotation) || !rotation) {
#else
if (std::isnan(rotation) || !rotation) {
#endif
return {}; return {};
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment