Commit 9b1d1435 authored by Ronald S. Bultje's avatar Ronald S. Bultje

Don't use string literals in assert()

Fixes #196.
parent f16ffc83
...@@ -268,7 +268,7 @@ static int output_image(Dav1dContext *const c, Dav1dPicture *const out, ...@@ -268,7 +268,7 @@ static int output_image(Dav1dContext *const c, Dav1dPicture *const out,
break; break;
#endif #endif
default: default:
assert(!"apply_grain: missing bit depth"); assert(0);
} }
dav1d_picture_unref(in); dav1d_picture_unref(in);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment