shithub: dav1d

Download patch

ref: 9b1d1435ebcbaa6c1324672d281c1c2035dc103e
parent: f16ffc830c56eff268efee91997399453c2d99db
author: Ronald S. Bultje <[email protected]>
date: Wed Nov 28 08:43:50 EST 2018

Don't use string literals in assert()

Fixes #196.

--- a/src/lib.c
+++ b/src/lib.c
@@ -268,7 +268,7 @@
         break;
 #endif
     default:
-        assert(!"apply_grain: missing bit depth");
+        assert(0);
     }
 
     dav1d_picture_unref(in);