/* Decode rows by checking if they are skipped  */
static void decode_rowskip(uint8_t *plane, int width, int height, int stride, GetBitContext *gb)
/* Decode rows by checking if they are skipped  */
static void decode_rowskip(uint8_t *plane, int width, int height, int stride, GetBitContext *gb)
{
        if (!get_bits1(gb))
            memset(plane, 0, width);
        else
            for (x=0; x<width; x++)
                plane[x] = get_bits1(gb);
        plane += stride;
    }
}