* "Null" Compression Algorithm Support.
*/
#include "tiffiop.h"
+#include <assert.h>
/*
* Encode a hunk of pixels.
n = cc;
if (tif->tif_rawcc + n > tif->tif_rawdatasize)
n = tif->tif_rawdatasize - tif->tif_rawcc;
+
+ assert( n > 0 );
+
/*
* Avoid copy if client has setup raw
* data buffer to avoid extra copy.